mefaCheck: Check and Compare Object(s) of Class 'mefa'
Description
The functions evaluates the internal structute of a 'mefa' object.
Usage
mefaCheck(x)
mefaCompare(x1, x2, strict = FALSE)
Arguments
x, x1, x2
an object of class 'mefa'.
strict
logical, if TRUE the function checks if ordering of dimnames are the same, otherwise it compares only matching.
Value
mefaCheck 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. mefaCheck is called by the is.mefa function.
mefaCompare compares two mefa objects. If all dimnames, and the corresponding values in the xtab and segm parts are identical, the result is TRUE, and otherwise FALSE. Different ordering of dimnames allowed, the comparison is based on the numeric values determined by dimnames.
encoding
UTF-8
References
S'olymos{Solymos} P. (2008) mefa: an R package for handling and reporting count data. Community Ecology9, 125--127.
S'olymos{Solymos} P. (2009) Processing ecological data in R with the mefa package. Journal of Statistical Software29(8), 1--28. http://www.jstatsoft.org/v29/i08/