View source: R/predictStationary.R
predictStationary | R Documentation |
Predict stationary state probabilities
predictStationary(
m,
newData,
beta = m$mle$beta,
returnCI = FALSE,
alpha = 0.95
)
m |
Fitted moveHMM object, as returned by |
newData |
Data frame with columns for the covariates |
beta |
Optional matrix of regression coefficients for the transition
probability model. By default, uses estimates in |
returnCI |
Logical indicating whether confidence intervals should be returned. Default: FALSE. |
alpha |
Confidence level if returnCI = TRUE. Default: 0.95, i.e., 95% confidence intervals. |
List with elements 'mle', 'lci', and 'uci' (the last two only if returnCI = TRUE). Each element is a matrix of stationary state probabilities with one row for each row of newData and one column for each state.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.