Learn R Programming

fHMM (version 1.1.1)

residuals.fHMM_model: Residuals

Description

This function extracts the computed (pseudo-) residuals of an fHMM_model object.

Usage

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

Value

A vector (or a matrix, in case of an hierarchical HMM) with (pseudo-) residuals for each observation.

Arguments

object

An object of class fHMM_model.

...

Ignored.

Examples

Run this code
compute_residuals(dax_model_3t)
res <- residuals(dax_model_3t)
head(res)

Run the code above in your browser using DataLab