Description Usage Arguments Value Author(s) See Also Examples
Creates a set of multiple scatter plots from all pairs of selected singular vectors or principal components.
Principal components can be plotted by setting weights = "sv"
.
Since it largely uses ggpairs
from the GGally
package, optional arguments for ggpairs
can be specified.
1 2 |
svd.obj |
A list, resulted from applying svd to a dataset, with |
r |
A positive integer to use only the first |
group |
A vector of length |
weights |
A vector of length |
alpha |
A numeric value for transparency. |
axisLabels |
Set to either "none" (default), "show", or "internal". |
... |
Additional arguments to pass onto |
svd.scatter
creates and draws a figure, which is a ggpair
object.
Neo Christopher Chung nchchung@gmail.com
ggpairs
1 2 3 4 5 |
[1] "Your input data is treated as a SVD output, with u, d, v corresponding to left singular vector, singular values, and right singular vectors, respectively."
[1] "Multiple Scatter Plots"
Warning messages:
1: In warn_if_args_exist(list(...)) :
Extra arguments: 'color', 'alpha' are being ignored. If these are meant to be aesthetics, submit them using the 'mapping' variable within ggpairs with ggplot2::aes or ggplot2::aes_string.
2: In check_and_set_ggpairs_defaults("diag", diag, continuous = "densityDiag", :
Changing diag$continuous from 'density' to 'densityDiag'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.