update.nhmm {seqHMM}R Documentation

Update Covariate Values of NHMM

Description

This function can be used to replace original covariate values of NHMMs. The responses, model formulae and estimated coefficients are not altered.

Usage

## S3 method for class 'nhmm'
update(object, newdata, ...)

## S3 method for class 'mnhmm'
update(object, newdata, ...)

Arguments

object

An object of class nhmm or mnhmm.

newdata

A data frame containing the new covariate values.

...

Ignored.


[Package seqHMM version 2.0.0 Index]