plotREs: Plot GCMM activity curve with random intercepts

Description Usage Arguments Value Examples

View source: R/REfunctions.R

Description

Plot GCMM activity curve with random intercepts

Usage

1
2
3
4
5
6
7
8
plotREs(
  model,
  RE1 = TRUE,
  RE2 = FALSE,
  scale = "NULL",
  ymax = "NULL",
  axisunits = "radians"
)

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

scale

Scale for plotting the activity curve, either "2pi" for 0,2pi or "pi" for -pi,pi; default="2pi"

ymax

Value for upper limit of y axis

axisunits

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

Value

No return value; prints plot of GCMM activity curve with random intercepts

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)
    plotREs(FoxGCMMREs) 

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