plot | R Documentation |
Plots the waveforms of the (non-empty) PTSample
s in a
PTModule
object.
## S4 method for signature 'PTModule,missing'
plot(x, y, plot.loop.positions = T, ...)
x |
A |
y |
|
plot.loop.positions |
A |
... |
Arguments that are passed on to |
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.
Returns an object of class trellis
. See documentation of
lattice::xyplot
for more details.
Pepijn de Vries
## 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")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.