loo_pred: Obtain Leave-one-Out Predictions from a Single Model

View source: R/cross-validation.R

loo_predR Documentation

Obtain Leave-one-Out Predictions from a Single Model

Description

Obtain Leave-one-Out Predictions from a Single Model

Usage

loo_pred(fit)

Arguments

fit

A fitted model object of class lm.

Value

A matrix object with columns storing values for each record and rows storing the predicted value for the left out observation and the AICc value (given by MuMIn::AICc()) of the model fitted after leaving the data point out.


bstaton1/KuskoHarvPred documentation built on Aug. 15, 2024, 3:30 p.m.