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

ltdl.summary

Displays a Count of Negative and Coded Values and NAs for a Data Frame


Description

Function renamed 'ltdl.summary' from 'gx.ngr.ltdl' in version 1.1.14.

Displays a table of the counts of negative values, indicating less than the detection limit, and NAs to support the preparation of a NGR Report Table of summary statistics. The table for numerial columns in the data frame displays the variable name, the number of NAs and the number of negative values, and the number of times the value in coded occurs.

Usage

ltdl.summary(xmat, vars, coded = -9999)

Arguments

xmat

name of the matrix or data frame.

vars

the indices, or names, of the columns of the matrix or data frame for the variables for which counts are to be displayed. By default, i.e. vars is undefined, counts for all numeric columns are displayed.

coded

a coded value, default -9999 whose occurrence will be counted. In some data sets values greater than the upper limit of quantification are set to such a coded value.

Examples

## Make test data available
data(fix.test)

## Generate table of counts 
ltdl.summary(fix.test)

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.