Description Usage Arguments Value
View source: R/ActivityProbabilityFunctions.R
Estimates activity highest posterior density interval (HPD), HPD duration, number of activity peaks, peak activity times and maximum activity probability density for a given probability density mass from the GCMM activity curve predicted by the GCMM parameter posterior distribution means
1 2 3 4 5 6 7 8 9 |
model |
Object of class |
prob |
Value to use for probability density mass; default=0.50 |
scale |
Scale of the data, either "2pi" for 0,2pi or "pi" for -pi,pi; default="2pi" |
silent |
Logical vector for whether to print output and plot; default=FALSE |
plot |
Logical argument for whether to plot activity curve with HPD; default=FALSE |
col |
Colour for HPD on plot |
ymax |
Value to use as upper limit of y axis on activity curve plot |
Returns object of class GCMMestimate
with list with estimated peak activity times, maximum activity probability density,
HPD interval, HPD duration, and number of activity peaks.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.