outbreak_rate_functions: Take the derivatives of the polynomial model

Description Usage Arguments

View source: R/outbreak_rate_functions.R

Description

Gets the functions of the partial derivatives with respect to X and Y to estimate the front-wave velocity of the outbreak

Usage

1
outbreak_rate_functions(m, measure = "r2", x, y, order)

Arguments

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


kathryntmorrison/outbreakvelocity documentation built on May 20, 2019, 7:41 a.m.