This function calculates the Maturity Index (MI) for ecological communities.
Usage
cal.MI(data, ...)
# S3 method for data.frame
cal.MI(data, ...)
# S3 method for matrix
cal.MI(data, ...)
# S3 method for default
cal.MI(data, ...)
Value
A data frame with two columns:
Sample.ID
Character vector of sample identifiers (from row names of data)
MI
Maturity Index for each sample
Arguments
data
data.frame or matrix. The nematode abundance table where rows represent samples and columns represent nematode genera.
Each element indicates the count of a specific nematode genus in the corresponding sample. Row names must be sample names, and column names must be nematode genus names.