| ModelMixHMMR-class | R Documentation |
ModelMixHMMR represents an estimated mixture of HMMR model.
paramA ParamMixHMMR object. It contains the estimated values of the parameters.
statA StatMixHMMR object. It contains all the statistics associated to the MixHMMR model.
plot(what = c("clustered", "smoothed", "loglikelihood"), ...)Plot method
whatThe type of graph requested:
"clustered" = Clustered curves (field
klas of class StatMixHMMR).
"smoothed" = Smoothed signal (field
smoothed of class StatMixHMMR).
"loglikelihood" = Value of the log-likelihood for
each iteration (field stored_loglik of class
StatMixHMMR).
...Other graphics parameters.
summary(digits = getOption("digits"))Summary method.
digitsThe number of significant digits to use when printing.
ParamMixHMMR, StatMixHMMR
data(toydataset) x <- toydataset$x Y <- t(toydataset[,2:ncol(toydataset)]) mixhmmr <- emMixHMMR(X = x, Y = Y, K = 3, R = 3, p = 1, verbose = TRUE) # mixhmmr is a ModelMixHMMR object. It contains some methods such as 'summary' and 'plot' mixhmmr$summary() mixhmmr$plot() # mixhmmr has also two fields, stat and param which are reference classes as well # Log-likelihood: mixhmmr$stat$loglik # Parameters of the polynomial regressions: mixhmmr$param$beta