View source: R/pclm_graphics.R
plot.pclm2D | R Documentation |
The generic plot for a pclm2D
object is constructed using
persp
method.
## S3 method for class 'pclm2D'
plot(
x,
type = c("fitted", "observed"),
colors = c("#b6e3db", "#e5d9c2", "#b5ba61", "#725428"),
nbcol = 25,
xlab = "x",
ylab = "y",
zlab = "values",
phi = 30,
theta = 210,
border = "grey50",
ticktype = "simple",
...
)
x |
an object of class |
type |
chart type. Defines which data are plotted, |
colors |
colors to interpolate; must be a valid argument to
|
nbcol |
dimension of the color palette. Number of colors. Default: 25. |
xlab , ylab , zlab |
titles for the axes. N.B. These must be character strings; expressions are not accepted. Numbers will be coerced to character strings. |
theta , phi |
angles defining the viewing direction.
|
border |
the color of the line drawn around the surface facets.
The default, |
ticktype |
character: |
... |
any other argument to be passed to
|
pclm2D
# See complete examples in pclm2D help page
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.