ltdl.summary: Displays a Count of Negative and Coded Values and NAs for a...

Description Usage Arguments Examples

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

1
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

1
2
3
4
5
## Make test data available
data(fix.test)

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

rgr documentation built on May 2, 2019, 6:09 a.m.

Related to ltdl.summary in rgr...