plot {ProTrackR} | R Documentation |
Plot a PTModule object
Description
Plots the waveforms of the (non-empty) PTSample
s in a
PTModule
object.
Usage
## S4 method for signature 'PTModule,missing'
plot(x, y, plot.loop.positions = T, ...)
Arguments
x |
A |
y |
|
plot.loop.positions |
A |
... |
Arguments that are passed on to |
Details
A plotting routine based on the lattice::xyplot
from the
lattice-package. Plots each (non-empty) waveform in a separate panel. Use arguments
of the lattice::xyplot
function to customise the plot.
Value
Returns an object of class trellis
. See documentation of
lattice::xyplot
for more details.
Author(s)
Pepijn de Vries
Examples
## get the example PTModule provided with the ProTrackR package
data("mod.intro")
## The most basic way to plot the module samples:
plot(mod.intro)
## By using xyplot arguments, we can make it look nicer:
plot(mod.intro, type = "l", layout = c(1,4),
scales = list(x = list(relation = "free")))
[Package ProTrackR version 0.4.3 Index]