CLRs | R Documentation |
This function allows the user to format the aesthetics for the category level points (CLRs).
CLRs (bp, which = 1, col = "black")
bp |
an object of class |
which |
the column name or number for which the CLRs should be displayed, with default |
col |
the colours for the CLRs, with default |
The object of class biplot
will be appended with a list called CLP.aes
containing the following elements A list with the following components is available:
which |
the variable number for which the CLRs are displayed. |
col |
the colours of the CLRs. |
biplot
, PCO
, AoD
mtdf <- as.data.frame(mtcars)
mtdf$cyl <- factor(mtdf$cyl)
mtdf$vs <- factor(mtdf$vs)
mtdf$am <- factor(mtdf$am)
mtdf$gear <- factor(mtdf$gear)
mtdf$carb <- factor(mtdf$carb)
#biplot(mtdf[,-11], scaled = TRUE) |> PCO(group.aes = mtdf[,11]) |>
#CLRs(which = 10, col = "coral") |> plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.