Learn R Programming

dbstats (version 1.0.4)

as.Gram: 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.

See Also

D2toG, disttoD2, D2toDist and GtoD2 for conversions.