GrowthComparison {biogrowth}R Documentation

GrowthComparison class

Description

The GrowthComparison class contains several functions for model comparison and model selection of growth models. It should not be instanced directly. Instead, it should be constructed using compare_growth_fits().

It includes two type of tools for model selection and comparison: statistical indexes and visual analyses. Please check the sections below for details.

Note that all these tools use the names defined in compare_growth_fits(), so we recommend passing a named list to that function.

Usage

## S3 method for class 'GrowthComparison'
plot(x, y, ..., type = 1, add_trend = TRUE)

## S3 method for class 'GrowthComparison'
coef(object, ...)

## S3 method for class 'GrowthComparison'
print(x, ...)

## S3 method for class 'GrowthComparison'
summary(object, ...)

Arguments

x

an instance of GrowthComparison

y

ignored

...

ignored

type

if type==1, the plot compares the model predictions. If type ==2, the plot compares the parameter estimates. If type==3, the plot shows the residuals

add_trend

should a trend line of the residuals be added for type==3? TRUE by default

object

an instance of GrowthComparison

Methods (by generic)

Statistical indexes

GrowthComparison implements two S3 methods to obtain numerical values to facilitate model comparison and selection.

Visual analyses

The S3 plot method can generate three types of plots:


[Package biogrowth version 1.0.1 Index]