Learn R Programming

EMOTIONS (version 1.0)

GetLacModelsMetrics: Estimate the Akaike information criterion (AIC), Bayeasian information criterion (BIC), root mean square percentage error (RMSPE) and mean squared error (MAE) for the fitted models

Description

Estimate the Akaike information criterion (AIC), Bayeasian information criterion (BIC), root mean square percentage error (RMSPE) and mean squared error (MAE) for the fitted models

Usage

GetLacModelsMetrics(converged_models, x, trait)

Value

A data frame containing the AIC, BIC, RMSPE and MAE for each fitted model for the individual

Arguments

converged_models

A list containing the fitted models for the individual

x

data frame containing the daily milking records for the individual

trait

The name of the column containing daily milking records