as.Gram {dbstats}R Documentation

Gram objects

Description

as.Gram attempts to turn its argument into a Gram class object.

is.Gram tests if its argument is a (strict) Gram class object.

Usage

  as.Gram(x)
  
  is.Gram(x)

Arguments

x

an R object.

Value

A Gram class object. Weighted centered inner products matrix of the squared distances matrix.

Author(s)

Boj, Eva <evaboj@ub.edu>, Caballe, Adria <adria.caballe@upc.edu>, Delicado, Pedro <pedro.delicado@upc.edu> and Fortiana, Josep <fortiana@ub.edu>

See Also

D2toG, disttoD2, D2toDist and GtoD2 for conversions.


[Package dbstats version 2.0.2 Index]