predict.rivpacs | R Documentation |
This function predicts the expected number of taxa for a site or sample based on a RIVPACS model.
## S3 method for class 'rivpacs' predict(object, newdata, cutoff = 0.05, outlier.probs = c(0.01, 0.05), ...)
newdata |
a biodiversity object |
cutoff |
a probability; taxa with a group occurrence probability < cutoff will not be used to calculate metrics. |
outlier.probs |
p-value thresholds to report which data points are outliers. Only used if method used to fit the RIVPACS model was 'lda' |
x |
a RIVPACS model |
If newdata is missing, fitted values for the data used to fit the model will be returned.
a matrix of RIVPACS metrics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.