vector_to_coord | R Documentation |
convert a vector of characters to a vector of numeric coordinates
vector_to_coord(x, scale = NA, range = c(0, 1))
x |
a vector of characters, which will be coerced into factor. |
scale |
a vector of |
range |
a vector of 2 numeric values defining a interval, where |
a vector of length(x)
vector_to_coord(1:4, scale = c(2,2,2), range(1, 9))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.