AoD {biplotEZ} | R Documentation |
Use the Analysis of Distance (AoD) method to construct the biplot
Description
This function appends the biplot
object with elements resulting from using the AoD method.
Usage
AoD(bp, classes=bp$classes, Dmat=NULL, dist.func=NULL,
dim.biplot = c(2,1,3), e.vects = 1:ncol(bp$X),
weighted = c("unweighted","weighted"), show.class.means = TRUE,
axes = c("regression","splines"), ...)
Arguments
bp |
an object of class |
classes |
a vector of the same length as the number of rows in the data matrix with the class indicator for the samples. |
Dmat |
the matrix of Euclidean embeddable distances between samples. |
dist.func |
a character string indicating which distance function is used to compute the Euclidean embeddable distances between samples. One of |
dim.biplot |
the dimension of the biplot. Only values |
e.vects |
the vector indicating which eigenvectors (canonical variates) should be plotted in the biplot, with default |
weighted |
a character string indicating the weighting of the classes. One of " |
show.class.means |
a logical value indicating whether to plot the class means on the biplot. |
axes |
a character string indicating the type of biplot axes to be used in the biplot. One of |
... |
more arguments to |
Value
Object of class biplot
Examples
biplot(iris[,1:4]) |> AoD(classes=iris[,5])
# create a CVA biplot
biplot(iris[,1:4]) |> AoD(classes=iris[,5]) |> plot()