A class to collect real multivariate vectors.
rmult(X,parts=1:NCOL(oneOrDataset(X)),orig=gsi.orig(X),
missingProjector=attr(X,"missingProjector"),
V = gsi.getV(X))
# S3 method for rmult
print(x,..., verbose=FALSE)
a vector of class "rmult"
representing one vector
or a matrix of class "rmult"
, representing
multiple vectors by rows.
vector or dataset of numbers considered as elements of a R-vector
vector containing the indices xor names of the columns to be used
an rmult object
the original untransformed dataset
the Projector on the observed subspace
the inverse of the transformation matrix
further generic arguments passed to print.default
logical, do you want to get all information about original data and transformation function (if any) with a print
call? defaults to FALSE (to print strict content only)
K.Gerald v.d. Boogaart http://www.stat.boogaart.de
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, e.g. mean
works as colMeans
in a data frame,
or matrix-vector operations are done row-wise.
+.rmult
, scalar
, norm.rmult
,
%*%.rmult
,
rplus
, acomp
,
plot(rnorm.rmult(30,mean=0:4,var=diag(1:5)+10))
Run the code above in your browser using DataLab