uscore {NADA2}R Documentation

U-score (individual value)

Description

Computes the uscore of data (required 2-columns) with one or more detection limits.

Usage

uscore(y, ind, rnk = TRUE)

Arguments

y

The column of data values plus detection limits

ind

The column of indicators, where 1 (or TRUE) indicates a detection limit in the y column, and 0 (or FALSE) indicates a detected value in y.

rnk

A TRUE/FALSE variable on whether to compute the multivariate pattern on the uscores, or the ranks of the uscores. Default is rnk=TRUE, use the ranks. rnk = FALSE returns the uscores.

Value

prints the uscore number of observations known to be lower - number of observations known to be higher, for each observation.

Examples

data(Brumbaugh)
uscore(Brumbaugh$Hg,Brumbaugh$HgCen)

[Package NADA2 version 1.1.6 Index]