Usage
plot_freqprof(data.freqprof, yAxis = NULL, xAxisUnits = "sec", panel.in = TRUE, panel.out = TRUE, gg = FALSE, multiPlot = FALSE, tick.every = round(length(data.freqprof$data$time)/31), label.every = 3)
Arguments
data.freqprof
data formated into class freqprof
.
yAxis
a string labelling the y-axis, defaults to
data.freqprof$type
.
xAxisUnits
a string indicating x-axis units, defaults to "sec".
panel.in
if FALSE
the first panel of the frequency profile, the
window moving in, is not plotted.
panel.out
if FALSE
the third panel of the frequency profile,
the window moving out, is not plotted.
gg
if TRUE
, will use ggplot2
to plot frequency profiles.
multiPlot
if TRUE
, will plot each behavior in its own panel.
tick.every
the spacing between each plot tick mark. By default, N/30
where N is the number of time units.
label.every
label every X ticks, where X = label.every. By default,
label.every = 3.