Description Usage Arguments Value Examples
relabel_na
examines interest area columns (LEFT_INTEREST_AREA_ID,
RIGHT_INTEREST_AREA_ID, LEFT_INTEREST_AREA_LABEL, and RIGHT_INTEREST_AREA_LABEL)
for cells containing NAs. If NA, the missing values in the ID columns are
relabeled as 0 and missing values in the LABEL columns are relabeled as 'Outside'.
1 | relabel_na(data, NoIA = NULL)
|
data |
A data table object output by |
NoIA |
A positive integer indicating the number of interest areas defined when creating the study. |
A data table with the same dimensions as data
.
1 2 3 4 5 6 | ## Not run:
library(VWPre)
# To relabel the NAs...
df <- relabel_na(data = dat, NoIA = 4)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.