APDatPeak {activityGCMM} | R Documentation |
Calculates activity probability density from one GCMM model at the peak activity time of a second GCMM model
APDatPeak(model1, model2, sample = 1000, HDIprob = 0.95)
model1 |
Object of class |
model2 |
Object of class |
sample |
Number of posterior samples from which to build the HDIs |
HDIprob |
Value for probability mass to use for HDI; default=95% |
Returns matrix with the mean and HDI of activity probability density estimated from both GCMM models at the peak activity time of the other. Posterior distributions of activity probability density and peak activity times for both GCMM models are also saved.