get_global_test_results {BMRMM}R Documentation

Global Test Results for Transition Probabilities and Duration Times

Description

For each covariate, print (and plot) the percentage of the number of clusters for each covariate in stored MCMC iterations.

Usage

get_global_test_results(results, decimal_pts = 2, include_plot = TRUE)

Arguments

results

either results$results_trans or results$results_duration

decimal_pts

specify the number of decimal points of the results; default is 2

include_plot

display plot if TRUE; default is TRUE

Details

The height of the bar represents the percentage of the number of the clusters within the stored MCMC samples.
Pr(# clusters for covariate j ==1) is the probability for the null hypothesis that the covairate j is not significant for transition probabilities or duration times, depending on the result type.

Value

No return value, called for printing and plotting global test results.

Examples

results <- BMRMM(foxp2_sm,num_cov=2,simsize=50)
get_global_test_results(results$results_trans)
get_global_test_results(results$results_duration)


[Package BMRMM version 0.0.1 Index]