Fit a spline to an epidemic data
1 | smooth.spline2(times, count, itmax = 100, relpeakcrit = 0.1)
|
times |
time vector |
count |
data (epidemic counts for each time period) |
itmax |
maximum number of iterations |
relpeakcrit |
critical relative peak value to test for single peak |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.