cal.WI | R Documentation |
This function calculates the Wasilewska Index (WI) for ecological communities.
cal.WI(data, ...)
## S3 method for class 'data.frame'
cal.WI(data, ...)
## S3 method for class 'matrix'
cal.WI(data, ...)
## Default S3 method:
cal.WI(data, ...)
data |
|
... |
Additional arguments (currently unused). |
A data frame with two columns:
Sample.ID |
Character vector of sample identifiers (from row names of |
WI |
Wasilewska Index for each sample |
# Example with a data frame
df <- data.frame(
Cephalobus = c(10, NA, 15),
Caenorhabditis = c(5, 10, NA),
Pratylenchus = c(8, 12, 10),
row.names = c("A", "B", "C")
)
cal.WI(data = df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.