compareGCMM {activityGCMM} | R Documentation |
Compare two posterior distributions of GCMM parameters or estimates
compareGCMM(model1, p1, model2 = "NULL", p2, sample = 1000, plot = TRUE)
model1 |
Object either of class |
p1 |
Name of first parameter to compare, from model1 |
model2 |
Object of either class |
p2 |
Second parameter to compare, either name of a parameter, estimate, or a vector of values |
sample |
Number of posterior samples from which to build HDI; default=1000 |
plot |
Logical argument for whether to plot histograms of p1, p2, and the difference between them; default=TRUE |
Returns object of class GCMMestimate
containing a list, including PD
containing the posterior distributions of p1, p2 and the difference between them,
and summary information (HDIs and PDS)