newaxes {biplotEZ} | R Documentation |
Aesthetics for supplementary (new) biplot axes
Description
Aesthetics for supplementary (new) biplot axes
Usage
newaxes(bp, X.new.names=bp$var.names, which = 1:bp$num.vars, col = "orange", lwd = 1,
lty = 1, label.dir = "Orthog", label.col = col, label.cex = 0.75, label.line = 0.1,
ticks = 5, tick.col = col, tick.size = 1, tick.label = TRUE, tick.label.col = tick.col,
tick.label.cex = 0.6, tick.label.side = "below", predict.col = col, predict.lwd = lwd,
predict.lty = lty, ax.names = X.new.names, orthogx = 0, orthogy = 0)
Arguments
bp |
object of class |
X.new.names |
refers to the new column names of |
which |
vector of new columns to be displayed in the biplot. |
col |
vector of size p specifying colours of labels of biplot axes. The default is |
lwd |
axis line width, with default |
lty |
axis line type, with default |
label.dir |
One of "Orthog" (default), "Hor" or "Paral" specifying titles of axes to appear orthogonal to the side of the figure; always horizontally or always parallel to the side of the figure. |
label.col |
axis label colour, with default, |
label.cex |
axis label expansion, with default |
label.line |
axis label written on which margin line, with default |
ticks |
integer-valued vector of size equal to the number of biplot axes to control the number of tickmarks on each individual biplot axis. Default is 5 for each axis. |
tick.col |
tick mark colour, with default |
tick.size |
positive integer-valued vector with specifying tick mark sizes, with default |
tick.label |
logical, whether axes should be labelled or not, with default |
tick.label.col |
tick mark label colour, with default |
tick.label.cex |
tick mark label expansion, with default |
tick.label.side |
character vector specifying position of the tick label "below" or "above" the axis. |
predict.col |
predicted samples colour, with default |
predict.lwd |
predicted samples line width, with default |
predict.lty |
predicted samples line type, with default |
ax.names |
vector of size |
orthogx |
numeric vector of size p specifying the x-coordinate of the parallel transformation of each axis. Defaults to zero for each axis. Only used when the dimension of the biplot is two. |
orthogy |
numeric vector of size p specifying the y-coordinate of the parallel transformation of each axis. Defaults to zero for each axis. Only used when the dimension of the biplot is two. |
Value
an object of class biplot
Examples
biplot(data = iris[,1:2]) |> PCA() |> interpolate(newvariable = iris[3:4]) |>
newaxes(col="gold") |> plot()