View source: R/cummulative_rate.R
cummulative_rate | R Documentation |
cummulative_rate
cummulative_rate( data, id = id, incidence = incidence, cummulativesum = cummulativesum, accuracy = 4 )
data |
A |
id |
Row id of incidence |
incidence |
The incidence of interaction in the data |
cummulativesum |
cummulative counted incidences |
accuracy |
of the derivate of the rate |
A data.frame
with the rate of change from fractional cuumlative incidence
and the first and second derivates of the rate
library(ecointeraction) data <- acummulate_incidence(mammalvirus, mammal_species, incidence) cumrateData <- cummulative_rate(data, id, incidence, cummulativesum)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.