checkdata: Check that the data supplied to ds
is correct
Description
This is an internal function that checks the data.frame
s supplied
to ds
are "correct".
Usage
checkdata(
data,
region.table = NULL,
sample.table = NULL,
obs.table = NULL,
formula = ~1
)
Arguments
formula
formula for the covariates
Value
Throws an error if something goes wrong, otherwise returns a
data.frame
.