codeU | R Documentation |
Recodes censored data to u-scores, which is the sum of the sign of the differences beween each value and all other values. It is equivalent to the rank but scaled so the the mean is 0.
codeU(...) ## Default S3 method: codeU(...) ## S3 method for class 'data.frame' codeU(...)
... |
either a data frame that contains columns of class "qw" or any combination of individual vectors of class "numeric," "lcens," or "qw." Missing values are removed before processing. |
A data frame containing the u-coded values. The column names are taken
from ...
; the rownames are derived from the sequential numbers of the
original data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.