stripBoxplot {GCDkit}R Documentation

Statistics: Stripplot by groups - with boxplots

Description

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.

Usage

stripBoxplot(yaxis = "", zaxis = "0", ymin = NULL, ymax = NULL, 
    pal = "heat.colors", ident = FALSE, silent=TRUE)

Arguments

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

pal

name of predefined palette

ident

logical; should be the samples identified interactively after plotting?

silent

logical, should be the above chosen by the appropriate dialogues?

Details

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.

stripBoxplot.png

In the specification of the variable(s) can be used also arithmetic expressions, see calcCore for the correct syntax.

The colour scheme can be specified by 'pal'. The legal colour schemes are: "grays","reds","blues",
"greens","cyans","violets","yellows","cm.colors","heat.colors","terrain.colors", "topo.colors","rainbow" and "jet.colors".

Value

None.

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz

See Also

stripplot, boxplot, strip, plotWithCircles

Examples

    stripBoxplot("(Na2O+K2O)/Al2O3")

[Package GCDkit version 4.1 Index]