- **`what`**: The type of graph requested:
* `"regressors" =` Polynomial regression components (fields `polynomials` and `pi_ik` of class StatRHLP ).
* `"estimatedsignal" =` Estimated signal (fields `Ex` and `klas` of class StatRHLP ).
* `"loglikelihood" =` Value of the log-likelihood for each iteration (field `stored_loglik` of class StatRHLP ).
- **`...`**: Other graphics parameters.
By default, all the graphs mentioned above are produced.
- **`digits`**: The number of significant digits to use when printing.
Examples
data(univtoydataset)rhlp <- emRHLP(univtoydataset$x, univtoydataset$y, K =3, p =1, verbose =TRUE)# rhlp is a ModelMHMMR object. It contains some methods such as 'summary' and 'plot'rhlp$summary()rhlp$plot()# rhlp has also two fields, stat and param which are reference classes as well# Log-likelihood:rhlp$stat$loglik
# Parameters of the polynomial regressions:rhlp$param$beta