Description Usage Arguments Value Examples
Convert vector data type
1 | rsa.convertVecType(vec1, vec2)
|
vec1, |
first vector with type we want to match |
vec2, |
second vector with type we'd like to transform |
vec2 with type matched to vec1
1 2 3 4 5 | v1 <- as.factor(c("one", "two", "three"))
v2 <- c("one", "two", "three")
v3 <- c("1", "2", "3")
rsa.convertVecType(v1, v2)
rsa.convertVecType(v1, v3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.