checkdata {Distance}R 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


[Package Distance version 1.0.3 Index]