htk_scatterplot: scatter barplots with OECD template style to display...

View source: R/htk_scatterplot.R

htk_scatterplotR Documentation

scatter barplots with OECD template style to display correlation between two variables in the housing toolkit chapters

Description

The functions generates scatter plots in an agreed format to ensure presentation consistency in the dashboard

Usage

htk_scatterplot(
  data_source,
  myvar_x,
  myvar_y,
  my_label,
  Xlabel = NULL,
  Ylabel = NULL,
  title = NULL,
  subtitle = NULL
)

Arguments

data_source

dataframe that contains the variables to plot

myvar_x

x axis variable name

myvar_y

y axis variable name

my_label

labels used to label the points in the plot

Xlabel

label of the X axis

Ylabel

label of the Y axis

title

title of the plot

subtitle

subtitle of the plot

Value

returns a standardized scatter plot

Author(s)

Manuel Betin Maxime Nguyen


manuelbetin/OECDHousingToolkit documentation built on July 5, 2023, 12:02 p.m.