A vector or matrix to be converted. cdrop and rdrop can take mefa objects as argument.
MARGIN
Margin in c(1, 2), indicating respectively rows or colums to be listed.
cutoff
Numeric, exclude rows/columns with sums <= cutoff.
attrib
Logical, if a vector of excluded rows/columns should be attached to the return value as an attribute.
Value
mat2list returns a list of length nrow(x) or ncol(x) depending on MARGIN.
Elements are rows/columns of x. Dimnames are retained as names.
mfill returns a single number with the matrix fill value.
rdrop and cdrop returns the original object but excluding rows (rdrop), or columns (cdrop)
that has sum <= cutoff. Excluded row/colum numbers and specifications are stored in the "exclude" attribute of attrib = TRUE.
S'olymos P. (2008) mefa: an R package for handling and reporting count data. Community Ecology9, 125–127.
S'olymos P. (2009) Processing ecological data in R with the mefa package. Journal of Statistical Software29(8), 1–28. http://www.jstatsoft.org/v29/i08/