Learn R Programming

activityGCMM (version 1.1.1)

circplotmeans: Circular plot of GCMM means

Description

Circular plot of GCMM means (circular intercepts)

Usage

circplotmeans(
  models,
  col = c("cyan3", "orchid", "deeppink", "dodgerblue"),
  axisunits = c("radians", "sun", "time")
)

Arguments

models

List of one or more objects of class GCMM containing output from the GCMM function

col

Vector of colours to use in the plot

axisunits

Units to be used for the axis, either "radians", "sun", or "time"

Value

Prints plot

Examples

Run this code
# NOT RUN {
 FoxActivityGCMM<-GCMM(data=redfoxsample$Radians, 
        RE1=redfoxsample$SamplingPeriod, family="vonmises", autorun=FALSE,
        adapt=0, sample=300, burnin=300, thin=1, n.chains=2)
     HumanActivityGCMM<-GCMM(data=humanssample$Radians, RE1=humanssample$SamplingPeriod, 
        family="vonmises", autorun=FALSE, adapt=0, sample=300, burnin=300, thin=1, n.chains=2)
    circplotmeans(models=list(FoxActivityGCMM,HumanActivityGCMM)) 
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab