stripBoxplot {GCDkit} | R Documentation |
Stripplot for selected variable, respecting the grouping. Each of the stripplots for the individual groups are underlain by a boxplot, so that the median, quartiles and range are immediately apparent. Optionally, the data points can be replaced by variously sized/coloured circles, depicting a distribution of a second variable.
stripBoxplot(yaxis = "", zaxis = "0", ymin = NULL, ymax = NULL, ident = FALSE, silent=TRUE)
yaxis |
specification of the variable used for stripplots/boxplots |
zaxis |
(optional) specification of the variable depicted by the circles |
ymin, ymax |
minimum and maximum of the y axis |
ident |
logical; should be the samples identified interactively after plotting? |
silent |
logical, should be the above chosen by the appropriate dialogues? |
Stripplot shows 1D scatter plots for each of the groups, with some artificial noise (jitter) added to make the individual points better visible. Stripplots are a good alternative to boxplots when sample sizes are small.
If no variable is specified as an argument
'yaxis
', the user can enter
it using the function 'selectColumnLabel
'.
If 'zaxis
' is zero, assigned plotting symbols, colours and symbol
sizes are used.
If 'zaxis
' refers to a valid variable name, the data points are shown as
circles, the size and colours of which correspond to this second variable.
In the specification of the variable(s) can be used also
arithmetic expressions, see calcCore
for the correct syntax.
None.
Vojtech Janousek, vojtech.janousek@geology.cz
stripplot
, boxplot
, strip
, plotWithCircles
stripBoxplot("(Na2O+K2O)/Al2O3")