View source: R/cutoff_incidence.R
cutoff_incidence | R Documentation |
data.frame
, cutoff keeps the maximal incidence information
with the minimal number of species possibleCuttoff incidence datatable from interaction data frame
In a incidence data.frame
, cutoff keeps the maximal incidence information
with the minimal number of species possible
cutoff_incidence(data, incidence = incidence, accuracy = 4)
data |
A |
incidence |
The incidence of interaction in the data |
accuracy |
The accuracy of the cutoff. Since the cutoff is get from second derivate, the accuracy set the round number of digits to cut the second derivate. Default 5 |
A data.frame
with the summarized incidence from an interaction data.frame
. Includes the acummulated incidence for each group provided
library(ecointeraction) acummulate_incidence(mammalvirus, virus, incidence) %>% cutoff_incidence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.