APDatPeak: Activity Probability Density at Peak Time of Another

Description Usage Arguments Value

View source: R/APDfunctions.R

Description

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

Usage

1
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.


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