mefaCheck {mefa}R Documentation

Check an Object of Class 'mefa'

Description

The function evaluates the internal structute of a 'mefa' object. This function is called by the is.mefa function.

Usage

mefaCheck(x)

Arguments

x an object of class 'mefa'.

Value

Returns a list, first element is logical with TRUE indicating that all requirements are met. If this is FALSE, following elements of the list describe the encountered problems as characters.

Author(s)

Péter Sólymos, solymos@ualberta.ca

References

Sólymos P. 2008. mefa: an R package for handling and reporting count data. Community Ecology 9, 125–127.

http://mefa.r-forge.r-project.org/

See Also

mefa, is.mefa

Examples

x <- matrix(rpois(20,1), 5, 4)
m <- mefa(x)
mefaCheck(m)

[Package mefa version 2.0-1 Index]