circplotREs: Random Effects Circular Plot

Description Usage Arguments Value Examples

View source: R/REfunctions.R

Description

Circular plot of GCMM random intercepts and 95% HDI

Usage

1
2
3
4
5
6
circplotREs(
  model,
  RE1 = TRUE,
  RE2 = FALSE,
  axisunits = c("radians", "sun", "time", "solar", "none")
)

Arguments

model

Object of class GCMM with output from GCMM function

RE1

Logical vector for whether to plot GCMM activity curve with random intercepts from RE1; default=TRUE

RE2

Logical vector for whether to plot GCMM activity curve with random intercepts from RE2; default=FALSE

axisunits

Units for x axis, either "radians", "time", "solar", "sun", or "none"; default="radians"

Value

No return value; prints circle plot of GCMM random intercepts and 95% HDI

Examples

1
2
3
4
 FoxGCMMREs<-GCMM(data=redfoxsample$Radians, RE1=redfoxsample$SamplingPeriod, 
       saveREs=TRUE, scale=c("2pi"), family="vonmises", autorun=FALSE,
       adapt=0, sample=300, burnin=300, thin=1)
    circplotREs(FoxGCMMREs, axisunits="sun") 

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