Predictions from an Object of Class GroAgeMod

Share:

Description

For a data object of class 'GroAgeMod' examine the results of model fit by making predictions and calculating residuals.

Usage

1
groagemod(x, method)

Arguments

x

An object of class 'GroAgeMod'.

method

Character, one of the numerical methods used to fit the model with GroAgeFit.

Details

If the sex is 'Both' or 'Total' predictions will be calculated for females, males and both sexes pooled, and if the numerical has failed to fit any of these three arrangements of the data then predictions will be calculated only for the successful fits.

Value

A list of length 3.

Properties

The properties of the data, information carried over from the creation of the data object with as.GroAgeData.

Model

The type of growth model, the distribution for the data, and the numerical method.

Predictions

A list of length one, two of three, with each component a data.frame with the age and length data, predicted lenght by the model, and the 'deviance' residuals.

Author(s)

Ruben H. Roa-Ureta

Examples

1
#See examples in help pages of function GroAgeFit()

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.