This is an internal function that checks the data.frame
s supplied
to ds
are "correct".
Arguments
- data
as in ds
- region.table
as in ds
- sample.table
as in ds
- obs.table
as in ds
- formula
formula for the covariates
Value
Throws an error if something goes wrong, otherwise returns a
data.frame
.