checkdata: Check that the data supplied to 'ds' is correct

View source: R/checkdata.R

checkdataR Documentation

Check that the data supplied to ds is correct

Description

This is an internal function that checks the data.frames supplied to ds are "correct".

Usage

checkdata(
  data,
  region.table = NULL,
  sample.table = NULL,
  obs.table = NULL,
  formula = ~1
)

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.

Author(s)

David L. Miller


DistanceDevelopment/Distance documentation built on Jan. 31, 2024, 4:11 a.m.