Learn R Programming

activityGCMM (version 1.1.1)

APDpointplot: Activity Probability Density Point Plot

Description

Plot of GCMM activity with predicted activity probability density at particular time points

Usage

APDpointplot(
  model,
  time,
  ymax = "NULL",
  scale = "2pi",
  cex = 2.5,
  col = "lightseagreen",
  axisunits = "radians"
)

Arguments

model

Object of class GCMM with output from GCMM function

time

Time point for which to plot predicted activity probability density

ymax

Upper limit of y axis

scale

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

cex

Size of plotted point; default=2.5

col

Colour of plotted point

axisunits

Units for xaxis

Value

No return value; prints plot of activity curve with activity probability density prediction at the specified time point and returns dataframe of time points and activity probability density