as.num | R Documentation |
Converts vector of strings to numeric vector
as.num(x, na.strings = "NA")
x |
Input vector of strings. |
na.strings |
A string which represents |
A numeric vector
library(haploR)
as.num(c("1", "2", "X"), na.strings="X")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.