Skip to contents

Colored point plot (scatter-plot) with facets (with bugs!)

Usage

gg_color_scatter_facet(df, x_var, y_var, col_var = NULL, facet_var = NULL, ...)

Arguments

df

input dataset (tibble or data.frame)

x_var

x variable (supplied to ggplot2::aes(x = ))

y_var

y variable (supplied to ggplot2::aes(y = ))

col_var

color variable (supplied to ggplot2::geom_point(ggplot2::aes(color = )))

facet_var

facet variable (supplied to ggplot2::geom_point(ggplot2::aes(color = )))

...

other arguments passed to (ggplot2::facet_wrap(vars()))

Value

A ggplot2 plot object