Learn R Programming

FreqProf (version 0.0.1)

ggplot_fp: Internal ggplot Wrapper to Graph Frequency Profiles

Description

Internal ggplot Wrapper to Graph Frequency Profiles

Usage

ggplot_fp(data1, resolution = resolution, step = step, yAxis = yAxis, xAxisUnits = xAxisUnits, xmin = xmin, xmax = xmax, tick.every = tick.every, label.every = label.every)

Arguments

data1
data formated into freqprof class.
resolution
resolution of freqprof data
step
step size of freqprof data
yAxis
a string providing a label for the y-axis.
xAxisUnits
a string indicating which unit has been used. By default, "sec".
xmin
x-axis minimum value
xmax
x-axis maximum value
tick.every
the spacing between each tick. 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

A ggplot of the frequency profile data in data1