code01 | R Documentation |
Recodes censored data to a binary coding system with 0 indicating less than some critical value and 1 indicating greater than or equal to that critical value.
code01(..., criteria) ## Default S3 method: code01(..., criteria) ## S3 method for class 'data.frame' code01(..., criteria)
... |
either a data frame that contains columns of class "qw" or any combination of individual vectors of class "integer," "numeric," "lcens," or "qw." Missing values are removed before processing. |
criteria |
a vector indicating the critical values for each repsective value in
|
A data frame containing the binary coded values. Each column has an attribute
called "critical.value" that reports the critical value used to recode the values in
that column. 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.