Learn R Programming

multivator (version 1.1-4)

mdm: Multivariate design matrices

Description

Multivariate design matrices are represented using objects of class mdm.

Usage

mdm(xold, types) as.mdm(x, ...) is.mdm(x) as.list(x, ...) as.matrix(x, ...) names(x) <- value "as.data.frame"(x, row.names=NULL,optional=TRUE, ...) "rbind"(x, ..., deparse.level=1) types(x) xold(x)

Arguments

xold
Matrix of design points, each row being a point in parameter space
types
A factor holding the types of each observation
x
An object of class mdm
value
Replacement value
row.names,optional
Currently ignored
...
Further arguments passed to NextMethod()
deparse.level
As for rbind()

Details

Various functionality for creating and manipulating objects of class mdm (Multivariate Design Matrix).

See Also

mhp,apart

Examples

Run this code

mm <- toy_mm_maker(7,8,9)
is.mdm(mm)
xold(mm) <- matrix(rnorm(108),27,4)
mm[1,1] <- 0.3

data(mtoys)
obs_maker(mm,toy_mhp,toy_LoF,toy_beta)

Run the code above in your browser using DataLab