U-scores for (non-interval, sinle-column) Censored Data
U-scores for (non-interval, sinle-column) Censored Data
Computes the column of uscores from 2 columns of data in the indicator value format. Multiple detection limits allowed. Called by the uscores function, Usc (this function) is not expected to be of much use to users on its own.
Usc(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.
Returns
Returns a single column of uscores or the ranks of uscores for a single pair of (concentration, indicator) censored data columns.