Description Usage Arguments Value
View source: R/covariate_analysis.R
This function plots the transition probability matrix entries with their confidence intervals for different covariate values.
1 2 3 4 5 6 | plot_tpm_entries(
num_states,
covar_vec,
cov_ci,
covariate_name = "Temp - mean(Temp)"
)
|
num_states |
The number of states in the HMM. |
covar_vec |
The vector of covariate values to plot the entries over. |
covariate_name |
Label for the x-axis. |
tpm_entries_list |
A list of 3 matrices, one for the estimate and the upper, and lower confidence interval, with the rows of the matrices containing the entries of the transition probability matrices at each covariate value. |
A list with a plot for each of the transition probability entries varying with the covariate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.