gx.ngr.ltdl: Displays a Count of Negative Values and NAs for a Matrix or...

Description Usage Arguments Examples

Description

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 matrix or 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
gx.ngr.ltdl(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 
gx.ngr.ltdl(fix.test)


Search within the rgr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.