data(toyapps)
D1.toy
hpa.toy
z.toy
subsets.toy
betas.toy
D1.toy
matrix is 20 rows of code run points, corresponding
to the observations of the level 1 code. It has three columns, one
per parameter. hpa.toy
is a hyperparameter object. It is a list of three
elements: sigmas
, B
, and rhos
.
subsets.toy
is a list of four elements. Element $i$
corresponds to the rows of D1.toy
at which level $i$ has
been observed.
z.toy
is a four element list. Each element is a vector;
element $i$ corresponds to obsevations of level $i$. The
lengths will match those of subsets.toy
.
betas.toy
is a matrix of coefficients.
Brief description of toy functions fully documented under their own manpage
Function generate.toy.observations()
creates new toy datasets
with any number of observations and code runs.
Function basis.toy()
is an example of a basis function
Function hpa.fun.toy()
creates a hyperparameter object such as
phi.toy
in a form suitable for passing to the other functions
in the library.
See the helpfiles listed in the
data(toyapps)
is.consistent(subsets.toy , z.toy)
generate.toy.observations(D1.toy, subsets.toy, basis.toy, hpa.toy, betas.toy)
Run the code above in your browser using DataLab