Learn R Programming

lame (version 1.3.4)

boot_ame-no-fitted: fitted/residuals are not defined for a bootstrap object

Description

A boot_ame stores replicate-level distributional summaries, not per-cell predictions or residuals. These methods exist only to refuse the call clearly (instead of falling through to stats::fitted.default / stats::residuals.default, which would silently return NULL). Apply fitted / residuals to the underlying ame_als fit instead.

Usage

# S3 method for boot_ame
fitted(object, ...)

# S3 method for boot_ame residuals(object, ...)

Value

Never returns; raises an error.

Arguments

object

a boot_ame object.

...

ignored.