activityHPD {activityGCMM} | R Documentation |
Calculate activity highest posterior density interval (activityHPD), HPD duration, number of activity peaks, peak activity times and maximum activity probability density for a given probability density mass
activityHPD(model, sample = 1000, prob = 0.5, scale = "2pi")
model |
Object of class |
sample |
Number of posterior samples for which to calculate 95% HDIs |
prob |
Value to use for probability density mass; default=0.50 |
scale |
Scale of the data for plotting, either "2pi" for 0,2pi or "pi" for -pi,pi; default="2pi" |
Returns object of class GCMMestimate
with list including estimated peak activity times, maximum activity
probability density, HPD interval, HPD duration, and number of activity peaks