Learn R Programming

BACCO (version 1.0-50)

as.sublist: 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

as.sublist(D1, subsets)

Arguments

D1
Design matrix for level one code
subsets
subsets object

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

Run this code
data(toyapps)
as.sublist(D1=D1.toy , subsets=subsets.toy)

Run the code above in your browser using DataLab