GCMMpdens {activityGCMM} | R Documentation |
Calculates predicted activity probability density from GCMM model at a specific time point
GCMMpdens(model, timepoint, HDI = TRUE, sample = 1000, scale = "2pi")
model |
Object of class |
timepoint |
Time point for which to predict activity probability density |
HDI |
Logical argument for whether to calculate 95% HDI; default=TRUE |
sample |
Number of posterior samples from which to build HDI; default=1000 |
scale |
Scale of the data, either "2pi" for 0,2pi or "pi" for -pi,pi; default="2pi" |
Returns numeric vector of estimated probability density if HDI=FALSE or posterior probability distribution if HDI=TRUE