plotCumQual | R Documentation |
Plot of the cumulative axis predictivity.
plotCumQual(data, centre = TRUE, scale = FALSE, legendTitle = "Variable",
legendLab = NULL, legendCol = NULL)
data |
dataframe. Named numeric columns in wide format required. |
centre |
logical. If TRUE, then each column has its own mean subtracted |
scale |
logical. If TRUE, then each column is divided by its own standard deviation. If a column has zero standard deviation, then it is returned as is. |
legendTitle |
character. Title of legend. Default is "Variable". |
legendLab |
named character vector. If NULL, then the labels used are the names of the columns and "mean". If not NULL, then the names of the labels must be the names of the columns in data, plus "mean". |
legendCol |
character vector. Colours to be used. May be named using the names of the columns in data, as well as "mean". |
Plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.