get_geom_function: Factory function to control 'ggplot2::geom_xxx' functions

Description Usage Arguments Value Examples

Description

Factory function to control ggplot2::geom_xxx functions

Usage

1
get_geom_function(geom, allowed = c("line", "bar", "point"))

Arguments

geom

string representation of ggplot2::geom_xxx function

allowed

character vector contains allowed values

Value

function

Examples

1
2
ggfortify:::get_geom_function('point')
ggfortify:::get_geom_function('line', allowed = c('line'))


Search within the ggfortify package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.