plot,oce-method | R Documentation |
This creates a pairs()
plot of the elements in the data
slot, if there are more than 2 elements there, or a simple xy plot if 2
elements, or a histogram if 1 element.
## S4 method for signature 'oce'
plot(x, y, ...)
x |
a basic oce object,
but not from any subclass that derive from this base, because
subclasses have their own plot methods, e.g. calling |
y |
Ignored; only present here because S4 object for generic |
... |
Passed to |
library(oce)
o <- new("oce")
o <- oceSetData(o, "x", rnorm(10))
o <- oceSetData(o, "y", rnorm(10))
o <- oceSetData(o, "z", rnorm(10))
plot(o)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.