mdm: Multivariate design matrices

mdmR Documentation

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, ...)
## S4 method for signature 'mdm,missing,missing'
as.data.frame(x, row.names=NULL,optional=TRUE, ...)
## S4 method for signature 'mdm'
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

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).

Note

The internal representation has two slots, one for the design matrix proper (a matrix), and one for the types of observation (a factor).

Author(s)

Robin K. S. Hankin

See Also

mhp,apart

Examples


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)


multivator documentation built on Aug. 22, 2023, 9:10 a.m.