Learn R Programming

activityGCMM (version 1.1.1)

circplotREs: Random Effects Circular Plot

Description

Circular plot of GCMM random intercepts and 95% HDI

Usage

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

Run this code
# NOT RUN {
 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") 
# }

Run the code above in your browser using DataLab