add_model_evaluation()

add_model_evaluation R Documentation

Add Model Evaluation

Description

Evaluates a fitted Hmsc model using predicted data and returns a list containing the model and its evaluation.

Usage

add_model_evaluation(mod_fitted = NULL, data_pred = NULL)

Arguments

mod_fitted

A fitted Hmsc model object. Must be of class ‘Hmsc’.

data_pred

An array of predicted values. Must be of class ‘array’.

Value

A list with two elements: the fitted model (‘mod’) and the evaluation results (‘eval’).

See Also

Hmsc::evaluateModelFit

Back to top