geom_line_or_smooth {conquestr} | R Documentation |
geom_line_or_smooth
Description
helper functions for ggplot - conditionally creates call to
ggplot2::geom_smooth
depending on the option linetype in the call to conquestr::plotCCC()
Usage
geom_line_or_smooth(thisData, thisLinetype)
Arguments
thisData |
the data frame being worked on in the call to |
thisLinetype |
a string, either "bins" or "regression" set in the call to |
Value
a list with a function call to ggplot2::geom_line
.
Examples
myExample <- geom_line_or_smooth()
[Package conquestr version 1.5.1 Index]