reflect | R Documentation |
This function provides the user with an option to reflect the biplot horizontally, vertically or diagonally.
reflect(bp, reflect.axis = c("FALSE", "x", "y", "xy"))
bp |
an object of class |
reflect.axis |
a character string indicating which axis about to reflect. One of |
An object of class biplot
biplot(iris[,1:4],group.aes = iris[,5]) |> PCA() |> reflect("x") |> plot()
biplot(iris[,1:4],group.aes = iris[,5]) |> PCA() |> reflect("y") |> plot()
biplot(iris[,1:4],group.aes = iris[,5]) |> PCA() |> reflect("xy") |> plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.