Description Usage Arguments Details Value See Also Examples
View source: R/1-base-functions.R
Plot of bmop object
1 2 3 |
x |
bmop object |
N |
positive integer |
type |
graphical parameter, see |
contour |
graphical parameter, see |
persp |
logical |
file |
optional file name, where to save a pdf copy of the plot |
MIN |
parameter of |
... |
graphical parameters as |
For the 2-d persp (persp==TRUE
) plot the rgl
package
is needed.
In order to obtain a nicer result in the contour plot, try to supply a
col
or color.palette
parameter, like in the example below
(RColorBrewer
package is needed).
plot of 1-d or 2-d (contour and perspective) bmop, an empty plot and a warning message are returned if the bmop object has more than 2 dimensions.
points.bmop
1 2 3 4 5 6 7 | ## Not run:
bmop<-bmop_fit(data.frame(rnorm(100),rnorm(100)))
colFun<-
grDevices::colorRampPalette(RColorBrewer::brewer.pal(9,name="YlGnBu"))
plot(bmop,color.palette=colFun)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.