Learn R Programming

activity (version 1.0)

plot,actmod-method: Plot activity distribution

Description

Plot an activity probability distribution from a fitted actmod object.

Usage

"plot"(x, hrs = TRUE, frq = TRUE, dat = c("histogram", "rug", "none"), add = FALSE, dcol = 1, lcol = 2, ...)

Arguments

x
Object of class actmod.
hrs
Logical defining whether to plot x axis as hours (default) or radians.
frq
Logical defining whether to plot y axis as frequency (default) or probability density.
dat
Data distribution plotting style, one of "h" (histogram, default), "r" (rug), "n" (no data plotting, PDF only).
add
Logical defining whether to create a new plot (default) or add the probability density to an existing plot (in which case no data are plotted).
dcol
Numeric or character defining colour of data lines.
lcol
Numeric or character defining colour of PDF lines.
...
Additional plotting arguments passed to internal plot call. NB axis limits are calculated internally and cannot be reset.