Learn R Programming

activityGCMM (version 1.1.1)

GCMMprob: Probability of Activity during Time Period

Description

Calculate activity probability estimates from a GCMM model during a specific period of time

Usage

GCMMprob(model, timestart, timeend, sample = 1000)

Arguments

model

Object of class GCMM with output from GCMM function

timestart

Start of time period (in radians)

timeend

End of time period (in radians)

sample

Number of posterior samples from which to calculate the HDI; default=1000

Value

Returns object of class GCMMestimate containing list with summary of output with mean and 95% HDI and the posterior distribution of predicted activity probability