plotCumQual: Plot cumulative axis predctivity

View source: R/axisPred.R

plotCumQualR Documentation

Plot cumulative axis predctivity

Description

Plot of the cumulative axis predictivity.

Usage

plotCumQual(data, centre = TRUE, scale = FALSE, legendTitle = "Variable",
  legendLab = NULL, legendCol = NULL)

Arguments

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".

Value

Plot.


MiguelRodo/ggboot documentation built on Nov. 9, 2023, 5:45 p.m.