Learn R Programming

Momocs (version 1.0.0)

is: Various class/component testers

Description

Class testers test if any of the classes of an object is of a given class. For instance is.PCA on a PCA object (both 'PCA' and 'prcomp') will return TRUE. Component testers check if a particular component (eg $fac, etc.) is present.

Usage

is.Coo(x)
is.PCA(x)
is.LDA(x)
is.Out(x)
is.Opn(x)
is.Ldk(x)
is.Coe(x)
is.OutCoe(x)
is.OpnCoe(x)
is.LdkCoe(x)
is.shp(x)
is.fac(x)
is.ldk(x)
is.slidings(x)
is.links(x)

Arguments

x
the object to test

Value

TRUE/FALSE

Examples

Run this code
data(bot)
is.Coo(bot)
is.Out(bot)
is.Ldk(bot)

Run the code above in your browser using DataLab