plot.R0.S | R Documentation |
Generates the graphical output for an object generated through
sensitivity.analysis()
.
## S3 method for class 'R0.S'
plot(x, what = "heatmap", time.step = 1, skip = 5, ...)
x |
Output of |
what |
Specify the desired output. Can be |
time.step |
Optional. If date of first observation is specified, number of day between each incidence observation. |
skip |
Number of results to ignore (time period in days) when looking for highest Rsquared value. |
... |
Parameters passed to inner functions. |
For internal use. Called by base::plot()
when applied to R0.S
objects.
A plot will be shown and the best model fit will be returned.
A list with best R0 measure for each possible time period, along with corresponding begin/end dates.
max.Rsquared |
The highest R-squared values. |
best.R0.values |
The corresponding |
best.fit |
The best model fit as defined by the highest R-squared values among all returned. |
Pierre-Yves Boelle, Thomas Obadia
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.