summarySingleByGroup {GCDkit}R Documentation

Statistics: Single variable by groups

Description

Prints statistical summary for a single variable and the whole dataset, divided by groups.

Usage

summarySingleByGroup(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.

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.

Value

results

numeric matrix with the results

Author(s)

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

See Also

boxplot summarySingle statistics summaryAll summaryByGroup

Examples

    data(sazava)
    accessVar("sazava")
    groupsByLabel("Intrusion")
    
    summarySingleByGroup("(Na2O+K2O)/Al2O3")

[Package GCDkit version 6.1 Index]