summarySingle {GCDkit}R Documentation

Statistics: Single variable all/selection

Description

Prints statistical summary for a single variable and the current dataset (or its part).

Usage

summarySingle(xlab="")

Arguments

xlab

variable name

Details

The statistical summary involves number of observations, missing values, mean, standard deviation, minimum, 25% quartile, median (=50% quartile), 75% quartile and maximum. The function also plots a summary boxplot and histogram.

In addition the statistical distribution of the given variable is shown as a boxplot, a box-percentile plot and two variants of histograms.

summarySingle.png

If no variable is specified as an argument 'xlab', the user can enter it using the function 'selectColumnLabel'. In the specification of the variable can be used also arithmetic expressions, see calcCore for the correct syntax.

The samples can be selected based on combination of three searching mechanisms (by sample name/label, range or a Boolean condition) - see selectSamples for details.

Value

results

numeric matrix/vector with the results

Author(s)

Vojtěch Janoušek, vojtech.janousek@geology.cz

See Also

boxplot

bpplot2

statistics

summarySingleByGroup summaryAll summaryByGroup

Examples

    data(blatna) 
    accessVar("blatna")
    
    summarySingle("(Na2O+K2O)/Al2O3")

[Package GCDkit version 6.1 Index]