Multivariate design matrices

Description

Multivariate design matrices are represented using objects of class mdm.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
mdm(xold, types)
as.mdm(x, ...)
is.mdm(x)
as.list(x, ...)
as.matrix(x, ...)
names(x) <- value
## 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

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

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

1
2
3
4
5
6
7
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)