plotGCMMsamples: Plot GCMM Activity Curve Posterior Samples

Description Usage Arguments Value

View source: R/uncertaintyfunctions.R

Description

Plot GCMM activity curve posterior samples for visualizing estimate uncertatinty

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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


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