regress.biplot | R Documentation |
Computes regression biplot axes
## S3 method for class 'biplot'
regress(
bp,
Z,
group.aes = NULL,
show.group.means = TRUE,
axes = c("regression", "splines")
)
bp |
an object of class |
Z |
the matrix of coordinates of the samples |
group.aes |
vector of the same length as the number of rows in the data matrix for differentiated aesthetics for samples. |
show.group.means |
logical, indicating whether group means should be plotted in the biplot. |
axes |
the type of axes to be fitted to the biplot. Options are 'regression' for linear regression axes (default) and 'splines' for B-spline axes. |
an object of class biplot.
biplot(iris) |> regress(Z = cmdscale(dist(iris[,1:4]))) |> plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.