get_best_model: Get the best fitting surface trend model

Description Usage Arguments

View source: R/get_best_model.R

Description

Retrieves the order of the best fitting mdoel based on the given measure of model fit

Usage

1
get_best_model(summary, measure = "r2")

Arguments

summary

Dataframe returned from function surfacetrend_model_fit

measure

The measure of model fit, defaults to R-squared ('r2'), can be 'aic' or 'bic'


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