R/general.functions.R
check.conversion.RdCheck that the conversion to a data type does not change the number of NA values
check.conversion(x, FUN, ...)
| x | the value to convert |
|---|---|
| FUN | the function to use for conversion |
| ... | arguments passed to |
FUN(x, ...) or an error if the set of NAs change.