isAcomp: Check for compositional data type

is.acompR Documentation

Check for compositional data type

Description

is.XXX returns TRUE if and only if its argument is of type XXX

Usage

is.acomp(x)
is.rcomp(x)
is.aplus(x)
is.rplus(x)
is.rmult(x)
is.ccomp(x)
          

Arguments

x

any object to be checked

Details

These functions only check for the class of the object.

Value

TRUE or FALSE

Author(s)

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

See Also

acomp, rcomp aplus, rplus

Examples

is.acomp(1:3)
is.acomp(acomp(1:3))
is.rcomp(acomp(1:3))
is.acomp(acomp(1:3)+acomp(1:3))

compositions documentation built on June 22, 2024, 12:15 p.m.