kedata_final2: Kedata style 2

View source: R/finishing2.R

kedata_final2R Documentation

Kedata style 2

Description

Menempatkan footer dibagian bawah yang terdiri dari logo dan data source

Usage

kedata_final2(plotname, title, subtitle, data_source)

Arguments

plotname

ggplot object

title

character for plot title

subtitle

character for plot subtitle

data_source

character for plot caption

Value

ggdraw object

Examples

## Not run: 
library(dataplot)
library(ggplot2)

p1 <- ggplot(data = economics, aes(x = pce, y = pop)) +
  geom_line() +
  kedata_theme()

kedata_final2(
  plotname = p1,
  title = "Lorem Ipsum is simply dummy text",
  subtitle = "Contrary to popular belief, Lorem Ipsum is not simply random text",
  data_source = "Sumber Data"
)

## End(Not run)


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