This function is used to plot two dimensional lines with each individual line possessing a different color.

col_line(formula, color, data = NULL, ...)

Arguments

formula

formula of the form y ~ x where y and x are the (unquoted) names of the variables to put on the x and y axes of the plot

color

one-sided formula of the form ~ c giving the (unquoted) name of the variable by which to color. Ideally c should be a factor or character variable.

data

data.frame or tibble in which variables x, y, and c are found.

...

Additional inputs to be passed to gf_path()

Value

a ggplot object with the requested plot #' @export