is.consistent: Checks observational data for consistency with a subsets...

is.consistentR 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

is.nested

Examples

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

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

approximator documentation built on Aug. 25, 2023, 1:07 a.m.