Learn R Programming

BACCO (version 1.0-50)

is.consistent: 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.

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

is.nested

Examples

Run this code
data(toyapps)
stopifnot(is.consistent(subsets.toy,z.toy))

z.toy[[4]] <- 1:6
is.consistent(subsets.toy,z.toy)

Run the code above in your browser using DataLab