plotGCMMsamples {activityGCMM}R Documentation

Plot GCMM Activity Curve Posterior Samples

Description

Plot GCMM activity curve posterior samples for visualizing estimate uncertatinty

Usage

plotGCMMsamples(
  model,
  sample = 100,
  scale = "NULL",
  ymax = "NULL",
  plotmean = TRUE,
  RGB = c(200, 200, 200),
  alpha = 0.05,
  axisunits = "radians",
  lines = TRUE,
  cex.axis = 0.8
)

Arguments

model

Object of class GCMM with output from GCMM function

sample

Number of posterior samples to plot; default=100

scale

Scale for which to plot the activity curve, either "pi" for -pi, pi or "2pi" for 0, 2pi; default is that which is recommended by the GCMM function

ymax

Value to use as upper limit for y-axis

plotmean

Logical argument for whether to plot activity curve from posterior distribution mean; default=TRUE

RGB

Vector of RBG values for line colour

alpha

Value for line transparency, between 0 (completely transparent) to 1 (completely opaque); default=0.05

axisunits

Scale to use for the xaxis, either "radians", "time", "solar", "sun", or "non"; default="radians"

lines

Whether to include lines on the graph for the x axis labels; default=TRUE

cex.axis

Font size for axis labels

Value

No return value; prints plot of activity curve posterior samples


[Package activityGCMM version 1.1.1 Index]