activityHPD {activityGCMM}R Documentation

Activity highest posterior density interval estimates (activityHPD)

Description

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

Usage

activityHPD(model, sample = 1000, prob = 0.5, scale = "2pi")

Arguments

model

Object of class GCMM with output from GCMM function

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"

Value

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


[Package activityGCMM version 1.1.1 Index]