Learn R Programming

rgr (version 1.1.0)

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
an informative display title, e.g., xname = "Cu (mg/kg) in <2 mm="" o-horizon="" soil"<="" code=""> rather than the default variable name of deparse(substitute(xx)).

See Also

gx.summary, gx.stats, ltdl.fix.df, remove.na, gx.summary1

Examples

Run this code
## 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, "Cu (mg/kg) in <2 mm Kola O-horizon soil")

## Detach test data
detach(kola.o)

Run the code above in your browser using DataLab