plotStationary | R Documentation |
Plot stationary state probabilities
plotStationary( model, covs = NULL, col = NULL, plotCI = FALSE, alpha = 0.95, return = FALSE, ... )
model |
|
covs |
Optional data frame consisting of a single row indicating the covariate values to be used in plots. If none are specified, the means of any covariates appearing in the model are used (unless covariate is a factor, in which case the first factor in the data is used). |
col |
Vector or colors for the states (one color per state). |
plotCI |
Logical indicating whether to include confidence intervals in plots (default: FALSE) |
alpha |
Significance level of the confidence intervals (if |
return |
Logical indicating whether to return a list containing estimates, SEs, CIs, and covariate values used to create the plots for each mixture and state. Ignored if |
... |
Additional arguments passed to |
# m is a momentuHMM object (as returned by fitHMM), automatically loaded with the package m <- example$m plotStationary(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.