is.consistent {approximator} | R Documentation |
Checks observational data for consistency with a subsets object
Description
Checks observational data for consistency with a subsets object: the length of the vectors should match
Usage
is.consistent(subsets, z)
Arguments
subsets |
A subsets object |
z |
Data |
Value
Returns TRUE
or FALSE
depending on whether z is consistent
with subsets.
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
See Also
Examples
data(toyapps)
stopifnot(is.consistent(subsets.toy,z.toy))
z.toy[[4]] <- 1:6
is.consistent(subsets.toy,z.toy)
[Package approximator version 1.2-8 Index]