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 model

GrowthModel_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 data

y:

Object of class numeric Input infections data

config:

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 of loggrowth 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")

[Package swash version 1.2.2 Index]