loggrowth-class {swash} | R Documentation |
Class "loggrowth"
Description
The class "loggrowth"
contains the results of the logistic_growth() function. Use summary(sbm)
and plot(sbm)
for results summary and plotting, respectively.
Objects from the Class
Objects can be created by the function logistic_growth
.
Slots
LinModel
:Object of class
list
Results of the OLS helper modelGrowthModel_OLS
:Object of class
list
Results of the OLS fit (predicted, parameters, first derivative)GrowthModel_NLS
:Object of class
list
Results of the NLS fit (predicted, parameters, first derivative)t
:Object of class
numeric
Input time points datay
:Object of class
numeric
Input infections dataconfig
:Object of class
list
Model fit configurations
Methods
- plot
signature(x = "loggrowth")
: Plots the results of the logistic growth model (observed, predicted, first derivative)- summary
signature(object = "loggrowth")
: Prints a summary ofloggrowth
objects
Author(s)
Thomas Wieland
References
Wieland T (2020) Flatten the Curve! Modeling SARS-CoV-2/COVID-19 Growth in Germany at the County Level. REGION 7(2), 43–83. doi:10.18335/region.v7i2.324
Examples
showClass("loggrowth")