View source: R/outbreak_rate_functions.R
Gets the functions of the partial derivatives with respect to X and Y to estimate the front-wave velocity of the outbreak
1 | outbreak_rate_functions(m, measure = "r2", x, y, order)
|
m |
An lm model object |
measure |
The measure of model fit, defaults to R-squared, 'r2', can be 'aic' or 'bic' |
x |
Units indicating the position in x-axis of the outbreak points |
y |
Units indicating the position in y-axis of the outbreak points |
order |
The order of the polynomial selected for the surface trend |
y |
Units indicating the position in y-axis of the outbreak points |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.