Description Usage Arguments Value Examples
extract variable name from mapping, aes
1 | getMapping(mapping, varname)
|
mapping |
aesthetic mapping |
varname |
variable name to extract |
variable name in character
1 2 3 4 5 | require(ggplot2)
mapping=aes(colour=sex)
mapping=aes(x=c(Sepal.Length,Sepal.Width,Petal.Length,Petal.Width))
getMapping(mapping,"colour")
getMapping(mapping,"x")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.