APDatPeak {activityGCMM}R Documentation

Activity Probability Density at Peak Time of Another

Description

Calculates activity probability density from one GCMM model at the peak activity time of a second GCMM model

Usage

APDatPeak(model1, model2, sample = 1000, HDIprob = 0.95)

Arguments

model1

Object of class GCMM with output from GCMM function

model2

Object of class GCMM with output from GCMM function

sample

Number of posterior samples from which to build the HDIs

HDIprob

Value for probability mass to use for HDI; default=95%

Value

Returns matrix with the mean and HDI of activity probability density estimated from both GCMM models at the peak activity time of the other. Posterior distributions of activity probability density and peak activity times for both GCMM models are also saved.


[Package activityGCMM version 1.1.1 Index]