persp_shiny.RdA wrapped function for 3d plot in a shiny app
persp_shiny(ifon, i, j, x, y, z, xlab, ylab, zlab, main, add = FALSE, color_shiny = NULL)
| ifon | a switch of whether the plot is performed. For the usage in a shiny app. |
|---|---|
| i | column number |
| j | row number |
| x | x |
| y | y |
| z | z |
| xlab | xlab |
| ylab | ylab |
| zlab | zlab |
| main | title |
| add | logical. Whether to add to the current rgl device. |
| color_shiny | color of the persp. If NULL, a rainbow color 'persp_color()' is used. |
a 3d plot