GCMMpdens {activityGCMM}R Documentation

Predict activity probability density at a time point

Description

Calculates predicted activity probability density from GCMM model at a specific time point

Usage

GCMMpdens(model, timepoint, HDI = TRUE, sample = 1000, scale = "2pi")

Arguments

model

Object of class GCMM with output from GCMM function

timepoint

Time point for which to predict activity probability density

HDI

Logical argument for whether to calculate 95% HDI; default=TRUE

sample

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

scale

Scale of the data, either "2pi" for 0,2pi or "pi" for -pi,pi; default="2pi"

Value

Returns numeric vector of estimated probability density if HDI=FALSE or posterior probability distribution if HDI=TRUE


[Package activityGCMM version 1.1.1 Index]