is.consistent | R Documentation |
Checks observational data for consistency with a subsets object: the length of the vectors should match
is.consistent(subsets, z)
subsets |
A subsets object |
z |
Data |
Returns TRUE
or FALSE
depending on whether z is consistent
with subsets.
Robin K. S. Hankin
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
is.nested
data(toyapps)
stopifnot(is.consistent(subsets.toy,z.toy))
z.toy[[4]] <- 1:6
is.consistent(subsets.toy,z.toy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.