plot_freqprof: Plot Frequency Profiles.

Description Usage Arguments Value Examples

View source: R/PlotData.R

Description

Use plot_freqprof to plot frequency profile data generated from freqprof.

Usage

1
2
3
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.

Value

Returns a frequency profiles plot.

Examples

1
2

AIBRT/FreqProf documentation built on May 5, 2019, 11:30 a.m.