Description Usage Arguments Examples
View source: R/fct_plot_functions.R
Produce scatterplot with sales data and a single continuous variable
1 2 3 4 5 6 7 8 | scatter_sales(
dataset,
xvar,
yvar,
facetvar = NULL,
label = FALSE,
point_colors = c("black", "#66D65C")
)
|
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. |
1 2 | plot_obj <- scatter_sales(data = ames, xvar = "Lot_Frontage")
plot_obj
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.