Usci: Interval-censored U-Score

View source: R/Usci.R

UsciR Documentation

Interval-censored U-Score

Description

Interval-censored computation of uscores and their ranks for 1 parameter. Called by uscoresi. Usci is not expected to be of much use to users on its own.

Usage

Usci(ylo, yhi, rnk = TRUE)

Arguments

ylo

The lower end of the concentration interval

yhi

The upper end of the concentration interval

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

Returns a single column of uscores or the ranks of uscores for a single pair of (low, high) interval-censored data columns.

Examples


data(Brumbaugh)

# for demonstration purposes create a lower end concentration interval
Brumbaugh$lowHg<-Brumbaugh$Hg*(1-Brumbaugh$HgCen)

with(Brumbaugh,Usci(lowHg,Hg))

NADA2 documentation built on Oct. 20, 2023, 5:07 p.m.