Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gx.summary2

Display a ten-line Summary Statistics Report


Description

Displays a more extensive report than gx.summary1. The report includes sample size, number of NAs in the input vector; arithmetic mean and 95% confidence limits, standard deviation and CV%; geometric mean and 95% confidence limits, with standard deviation and CV% in log10 units; median and 95% confidence limits robust estimates of spread (MAD and interquartile based measure); and minimum, maximum, quartiles, and 2nd, 5th, 10th, 90th, 95th and 98th percentiles.

Usage

gx.summary2(xx, xname = deparse(substitute(xx)))

Arguments

xx

name of the variable to be processed.

xname

by default the character string for xx is used for the report title. An alternate title can be displayed with xname = "text string", see Examples.

Note

Any less than detection limit values represented by negative values, or zeros or other numeric codes representing blanks in the data, must be removed prior to executing this function, see ltdl.fix.df.

Any NAs in the data vector will be removed prior to computation in function gx.stats.

For a less extensive summary statistics display, see gx.summary1. For summary graphical displays see shape or inset.

Author(s)

Robert G. Garrett

See Also

Examples

## Make test data available
data(kola.o)
attach(kola.o)

## Generates an initial display
gx.summary2(Cu)

## Provide a more informative display
gx.summary2(Cu, xname = "Cu (mg/kg) in <2 mm Kola O-horizon soil")

## Detach test data
detach(kola.o)

rgr

Applied Geochemistry EDA

v1.1.15
GPL-2
Authors
Robert G. Garrett
Initial release
2018-03-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.