| summaryAll {GCDkit} | R Documentation | 
The function 'summaryAll' prints statistical summary for selected list 
of elements (majors as a default) and the current dataset (or its part). 
Functions 'summaryMajor' and 'summaryTrace' are entry points 
supplying the default lists for major- and trace elements. 
summaryAll(elems = major, where = NULL, show.boxplot = FALSE, 
    show.hist = FALSE, silent=TRUE)
summaryMajor()
summaryTrace()
| elems | list of desired elements | 
| where | list of desired samples to be processed | 
| show.boxplot | logical, should be plotted the boxplots? | 
| show.hist | logical, should be plotted the histograms? | 
| silent | logical, should be the above chosen by the appropriate dialogues? | 
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 summary boxplots and histograms, if desired so.
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. 
Even though as a default are assumed majors 
(SiO2, TiO2, Al2O3, 
FeOt, MnO, MgO, CaO, Na2O, K2O for 
'summaryMajor') or selected trace 
(Rb, Sr, Ba, Cr, Ni, La, Eu, Y, Zr 
for 'summaryTrace')
elements, the variable(s) to be displayed can be 
modified/specified in all cases.
To this purpose serves the function 
'selectColumnsLabels'. 
In the specification of the variable can be used also 
arithmetic expressions, see calcCore for the correct syntax.
| results | numeric matrix with the results | 
Vojtěch Janoušek, vojtech.janousek@geology.cz
dsampleDataset("blatna")
    
summaryAll(LILE)
summaryAll(LILE,show.hist=TRUE)
summaryAll(LILE,show.boxplot=TRUE)
# user-defined list
my.elems<-c("SiO2","K2O/Na2O","MgO")
summaryAll(my.elems)
## Not run: 
    summaryMajor()
    summaryTrace()
## End(Not run)