compositions (version 1.40-2)

rmult: Simple treatment of real vectors

Description

A class to analyse real multivariate vectors.

Usage

rmult(X,parts=1:NCOL(oneOrDataset(X)),orig=attr(X,"orig"),
                missingProjector=attr(X,"missingProjector"))
 # S3 method for rmult
print(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

x

an rmult object

orig

the original untransformed dataset

missingProjector

the Projector on the observed subspace

further generic arguments passed to print.default

Value

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

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.

See Also

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

Examples

Run this code
# NOT RUN {
plot(rnorm.rmult(30,mean=0:4,var=diag(1:5)+10))

# }

Run the code above in your browser using DataLab