radialvis3d | R Documentation |
3D Radial Visualization function
radialvis3d( data, domrp = T, doGtrans = F, sqrt_scale = F, cl = NULL, color = NULL, pch = 16, colorblind = FALSE, axes = FALSE, point.cex = 1, with.coord.labels = T, coord.labels = NULL, coord.font = 2, coord.cex = 1.1, with.class.labels = T, class.labels = levels(factor(cl)), class.labels.locations = NULL, opt.anchor.order = FALSE, alpha = 0.02, lwd = 1, axes.col = "black", ret.trans = FALSE, ... )
data |
The dataset to visualize. Each row is an observation. |
domrp |
Logical. If true, MRP is applied to the origianl dataset. The default number of PCs used is |
doGtrans |
Logical. If true, Gtrans is applied to the origianl dataset. @seealso |
sqrt_scale |
Logical. If true, the distance of the points to be visualization will be augmented to squre root of the orginal distance to make points further away from the origin. |
cl |
The class identification for each observation. The length of |
color |
The colors for different classes. If not specified, |
pch |
The point character to be used. It is an integer of a vector of integers of the same length of the nrow of the dataset. See |
colorblind |
Logical.The colors for different classes.If true, poits are colorblind friendly.If false, |
axes |
Logical.If true, Cartesian axes would be plotted. |
point.cex |
The size of the data point in RadViz3D. The default value is 1. |
with.coord.labels |
Logical. If true, labels of coordinates will be added to the visualization. |
coord.labels |
The labels for components of the dataset. When |
coord.font |
The font for labels of components. |
coord.cex |
The size of the labels of components. |
with.class.labels |
Logical. If true, class labels will be added to the visualization. |
class.labels |
The labels for different classes in the dataset. |
class.labels.locations |
Locations to put labels for each class. If not specified, an optimal location for each class would be calculated. |
opt.anchor.order |
Logical. If true, the optimal order of anchor points corresponding to the components would be calculated. This is a very time consuming procedure. Not recommended if the number of components is larger then 6. |
alpha |
The alpha value that controls the transparency of the sphere in 3d visulization |
lwd |
The line width in the visualization |
axes.col |
Colors of the axes, if needed to be displayed |
ret.trans |
Logical parameter, returns the Radviz3D transformation if TRUE |
... |
Some other parameters from mrp and Gtrans and rgl functions. |
A list with the elements
mrp.res |
The result of MRP is the argument |
radialvis3d(data = iris[,-5], cl = iris[,5], domrp = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.