Learn R Programming

rgr (version 1.1.15)

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.

See Also

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

Examples

Run this code
# NOT RUN {
## 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)
# }

Run the code above in your browser using DataLab