SecondaryComparison {biogrowth}R Documentation

SecondaryComparison class

Description

The SecondaryComparison 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_secondary_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_secondary_fits(), so we recommend passing a named list to that function.

Usage

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

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

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

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

Arguments

object

an instance of SecondaryComparison

...

ignored

x

an instance of SecondaryComparison

y

ignored

type

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

add_trend

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

Methods (by generic)

Statistical indexes

SecondaryComparison 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.3 Index]