| getMapping | R Documentation |
extract variable name from mapping, aes
getMapping(mapping, varname)
mapping |
aesthetic mapping |
varname |
variable name to extract |
variable name in character
require(ggplot2)
mapping=aes(colour=sex)
getMapping(mapping,"colour")
getMapping(mapping,"x")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.