plot_sctr3: Scatter plot 3 variables in kedata style

View source: R/plot_sctr3.R

plot_sctr3R Documentation

Scatter plot 3 variables in kedata style

Description

Scatter plot 3 variables in kedata style

Usage

plot_sctr3(data, x, y, color, title, subtitle, data_source)

Arguments

data

Data frame

x

character of column name for x axis

y

character of column name for y axis

color

column name to ploted as point colors

title

character for plot title

subtitle

character for plot subtitle

data_source

character for footer text

Value

ggdraw object

Examples

## Not run: 
library(dataplot)
library(ggplot2)
plot_sctr3(
  data = midwest, x = "area", y = "poptotal", color = "state",
  title = "Lorem Ipsum is simply dummy text",
  subtitle = "Contrary to popular belief, Lorem Ipsum is not simply random text",
  data_source = "www.kedata.online"
)

## End(Not run)


eppofahmi/dataplot documentation built on Jan. 22, 2025, 1:14 a.m.