rmult {compositions}R Documentation

Simple treatment of real vectors

Description

A class to analyse real multivariate vectors.

Usage

          rmult(X,parts=1:NCOL(oneOrDataset(X)))
          

Arguments

X vector or dataset of numbers considered as elements of a R-vector
parts vector containing the indices xor names of the columns to be used

Details

The rmult class is a simple convenience class to treat data in the scale of real vectors just like data in the scale of real numbers. A major aspect to take into account is that the internal arithmetic of R is different for these vectors.

Value

a vector of class "rmult" representing one vector or a matrix of class "rmult", representing multiple vectors by rows.

See Also

+.rmult, scalar, norm, %*%.rmult, rplus, acomp,

Examples

plot(rnorm.rmult(30,mean=0:4,var=diag(1:5)+10))


[Package compositions version 0.9-10 Index]