setPaletteStaticScatterplotClinData {clinDataReview}R Documentation

Get standard palette for the staticScatterplotClinData function.

Description

Get standard palette for the staticScatterplotClinData function.

Usage

setPaletteStaticScatterplotClinData(data, var, aes, scalePars, geomAes, ...)

Arguments

data

Data.frame with data for the plot.

var

Character vector with variable(s) to consider. If multiple, currently only the first one is considered.

aes

String with aesthetic, either: 'color', 'shape' or 'linetype'.

scalePars

List with parameters to customize scales. Each sublist should contains a set of parameters passed to the scale_discrete_manual function.
If palette(s) are not specified, default palettes are used (see getColorPalette, getShapePalette, getLinetypePalette )

geomAes

List with aesthetic for each geom.

...

Any extra parameters than x and n for the default palette fcts.

Value

List with: scalePars and geomAes, each of those potentially updated with default palette(s).

Author(s)

Laure Cougnaud


[Package clinDataReview version 1.5.0 Index]