outbreak_velocity: The front-wave velocity

Description Usage Arguments

View source: R/outbreak_velocity.R

Description

Calculates the front-wave velocity of an outbreak

Usage

1
2
outbreak_velocity(ds, max.order = 10, measure = "r2",
  manual.order = FALSE)

Arguments

ds

Dataframe providing the date of outbreak and X and Y coordinates

max.order

Integer of highest order polynomial to attempt; defaults to 10

measure

The measure of model fit, defaults to R-squared: 'r2', can be AIC: 'aic' or BIC: 'bic'

manual.order

If TRUE, the max.order integer is the polynomial model used, regardless of best fit measures; defaults to FALSE


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