AoD.biplot {biplotEZ} | R Documentation |
Calculate elements for the Analysis of Distance (AoD) biplot
Description
This function is used to construct the AoD biplot
Usage
## S3 method for class 'biplot'
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
an object of class biplot
.
Examples
biplot(iris) |> AoD(classes = iris[,5]) |> plot()