get_histogram_by_component {BMRMM}R Documentation

Duration Times Plots: Histogram of duration times by Component

Description

Plots the histogram of each mixture component superimposed the gamma distribution with shape and rate parameters taken from the last MCMC iteration

Usage

get_histogram_by_component(results, comp = 1:results$K)

Arguments

results

results of duration times, i.e., results$results_duration

comp

a vector of the components to plot; default is 1:isi_num_comp

Value

No return value, called for plotting histogram for each mixture component.

Examples

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


[Package BMRMM version 0.0.1 Index]