fitted.Model: Extract or generate fitted values from a 'Model' object

View source: R/model_s3_functions.R

fitted.ModelR Documentation

Extract or generate fitted values from a 'Model' object

Description

Return fitted values. Does not account for the random effects. This function is a wrapper for 'Model$fitted()', which also provides a variety of additional options for generating fitted values from mixed models. For simulated values based on resampling random effects, see also 'Model$sim_data()'. To predict the values including random effects at a new location see also 'Model$predict()'.

Usage

## S3 method for class 'Model'
fitted(object, ...)

Arguments

object

A 'Model' object.

...

Further arguments passed from other methods

Value

Fitted values


glmmrBase documentation built on April 3, 2025, 10:44 p.m.