D1.fun: Function to join x.star to t.vec to give matrix D1

Description Usage Arguments Details Author(s) References See Also Examples

Description

Function to join x.star to t.vec to give matrix D1 with correct row- and column- names.

Usage

1
D1.fun(x.star, t.vec)

Arguments

x.star

Matrix of code run points

t.vec

Matrix of parameter theta values

Details

Note that the matrix returned is a D1 matrix: it is a design matrix for code observations as it contains both x and theta

Author(s)

Robin K. S. Hankin

References

See Also

toys

Examples

1
2
3
4
5
6
7
8
data(toys)
jj <- extractor.toy(D1.toy)
x.star.toy <- jj$x.star
t.vec.toy  <- jj$t.vec
D1.fun(x.star.toy , t.vec.toy)  # both dataframes
D1.fun(x.star.toy , theta.toy)  # one dataframe, one vector
D1.fun(x.toy , t.vec.toy)       # one vector, one dataframe
D1.fun(x.toy,theta.toy)         # two vectors

calibrator documentation built on May 1, 2019, 9:17 p.m.