Learn R Programming

hmmhdd (version 1.0)

plot.fhmm: Plotting functional Hidden Markov Models

Description

plot method for class "fhmm".

Usage

# S3 method for fhmm
plot(x, ...)

Arguments

x

an object of class "fhmm", a result of a call to fitBM_fhmm

...

additional arguments affecting the summary produced.

Value

The function returns a plot of the centers representing the states of the Hidden Markov Model.

References

Martino A., Guatteri, G. and Paganoni A. M., Hidden Markov Models for multivariate functional data, MOX Report 21/2019, 2019

See Also

fitBM_fhmm

Examples

Run this code
# NOT RUN {
data(simulatedFD)
n <- 20
n_tot <- 2000
bt <- seq(1,n_tot,by=n)
FD <- simulatedFD
hmm <- set_fhmm(FD, nStates = 3, bT=bt)
bw <- fitBM_fhmm(hmm)

plot(bw)
# }

Run the code above in your browser using DataLab