Converts a level one design matrix and a subsets object into a list of design matrices, one for each level

Description

Given a level one design matrix, and a subsets object, convert into a list of design matrices, each one of which is the design matrix for its own level

Usage

1
as.sublist(D1, subsets)

Arguments

D1

Design matrix for level one code

subsets

subsets object

Author(s)

Robin K. S. Hankin

References

M. C. Kennedy and A. O'Hagan 2000. “Predicting the output from a complex computer code when fast approximations are available” Biometrika, 87(1): pp1-13

Examples

1
2
data(toyapps)
as.sublist(D1=D1.toy , subsets=subsets.toy)