HPDoverlap: Activity HPD Overlap

Description Usage Arguments Value

View source: R/ActivityProbabilityFunctions.R

Description

Calculate whether there is overlap between two HPDs, the amount of overlap, and the probability of activity during the HPD of the other

Usage

1
HPDoverlap(model1, model2, prob = 0.5, sample = 1000, scale = "2pi")

Arguments

model1

Object of class GCMM with output from GCMM function

model2

Object of class GCMM with output from GCMM function

prob

Value of probability density mass for activityHPD; default=0.50

sample

Number of posterior samples for calculating 95% HDI; default=1000

scale

Scale for plotting the activity curve, either "2pi" for 0,2pi or "pi" for -pi,pi; default="2pi"

Value

Returns object of class GCMMestimate containing list of posterior distributions and summary information of mean and 95% HDI


activityGCMM documentation built on June 15, 2021, 1:06 a.m.