scatter_sales: Produce scatterplot with sales data and a single continuous...

Description Usage Arguments Examples

View source: R/fct_plot_functions.R

Description

Produce scatterplot with sales data and a single continuous variable

Usage

1
2
3
4
5
6
7
8
scatter_sales(
  dataset,
  xvar,
  yvar,
  facetvar = NULL,
  label = FALSE,
  point_colors = c("black", "#66D65C")
)

Arguments

xvar

variable (string format) to be used on x-axis.

yvar

variable (string format) to be used on y-axis.

facetvar

optional variable (string format) to use for facetted version of plot.

label

whether or not to label brushed points.

data

data frame with variables necessary for scatterplot.

Examples

1
2
plot_obj <- scatter_sales(data = ames, xvar = "Lot_Frontage")
plot_obj

MayaGans/golem_demo documentation built on May 14, 2020, 12:32 a.m.