Description Usage Arguments Details Value See Also Examples
View source: R/listNumericIncompatibility.R
List incompatible values when converted into numeric values.
1 |
data |
a data.frame to search for incomatible values when converted into numeric values |
List incompatible values when converted into numeric values. Character or factor variables in data.frame are scanned to check whether the values in it is compatible, and incompatible values are returned as list. This function is intended for check before use of convertFromFactor
.
a list which contains incompatible values for each variable in data.frame when converted into numeric variable.
convertFromFactor
, showContents
.
1 2 3 4 5 6 | a <- factor(rnorm(5))
b <- c("a", "b", "c", "d", "e")
c <- c("1", "2", "3", "4", NA)
d <- c("1", "2", "3", "4", ".")
dat <- data.frame(a,b,c,d)
listNumericIncompatibility(dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.