od_print: Compact information about a design

Description Usage Arguments Value Author(s) See Also Examples

View source: R/od_print.R

Description

Prints various characteristics of an experimental design

Usage

1
od_print(Fx, w, X=NULL, h=NULL, echo=TRUE)

Arguments

Fx

the n times m (where m>=2, m<=n) matrix containing all candidate regressors (as rows), i.e., n is the number of candidate design points, and m is the number of parameters

w

the vector of non-negative real numbers of length n representing the design

X

an n times k matrix of coordinates of design points

h

a non-zero vector of length m corresponding to the coefficients of the linear parameter combination of interest. If crit is not "C" then h is ignored. If crit is "C" and h=NULL then h is assumed to be c(0,...,0,1)

echo

Print the call of the function?

Value

Output is a list with components

call

the call of the function

design

a matrix with the rows of Fx corresponding to non-zero design weights and the non-weights themselves

M

the information matrix of w

eigenvalues

the eigenvalues of M

D.value

the value of the D-optimality criterion for w

A.value

the value of the A-optimality criterion for w

I.value

the value of the I-optimality criterion for w

C.value

the value of the C-optimality criterion for w

c.value

the value of the c-optimality criterion for w

Author(s)

Radoslav Harman, Lenka Filova

See Also

od_plot, od_pool

Examples

1
2
3
Fx <- Fx_cube(~x1 + I(x1^2), n.levels = 11)
w <- 1:11/sum(1:11)
od_print(Fx, w, Fx[, 2])

OptimalDesign documentation built on March 26, 2020, 9:35 p.m.