fix_NA {clickR} | R Documentation |
fix_NA
Description
Fixes miscoded missing values
Usage
fix_NA(
x,
na.strings = c("^$", "^ $", "^\\?$", "^-$", "^\\.$", "^NaN$", "^NULL$", "^N/A$"),
track = TRUE,
parallel = TRUE
)
Arguments
x |
A data.frame |
na.strings |
Strings to be considered NA |
track |
Track changes? |
parallel |
Should the computations be performed in parallel? Set up strategy first with future::plan() |
Examples
mydata <- data.frame(prueba = c("", NA, "A", 4, " ", "?", "-", "+"),
casa = c("", 1, 2, 3, 4, " ", 6, 7))
fix_NA(mydata)
[Package clickR version 0.9.39 Index]