as.D2 {dbstats}R Documentation

D2 objects

Description

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

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

Usage

  as.D2(x)

  is.D2(x)

Arguments

x

an R object.

Value

An object of class D2 containing the squared distances matrix between individuals.

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]