reflect {biplotEZ} | R Documentation |
Reflect the biplot about a chosen axis
Description
This function provides the user with an option to reflect the biplot horizontally, vertically or diagonally.
Usage
reflect(bp, reflect.axis = c("FALSE", "x", "y", "xy"))
Arguments
bp |
an object of class |
reflect.axis |
a character string indicating which axis about to reflect. One of |
Value
An object of class biplot
Examples
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()
[Package biplotEZ version 2.0 Index]