kedata_custom: Kedata style custome plot finishing

View source: R/finishing0.R

kedata_customR Documentation

Kedata style custome plot finishing

Description

Menempatkan footer dibagian bawah yang terdiri dari logo dan data source

Usage

kedata_custom(plotname, title, subtitle, data_source, footer_col = "red", logo)

Arguments

plotname

ggplot object

title

character for plot title

subtitle

character for plot subtitle

data_source

character for plot caption

footer_col

default to red

path to image logo

Value

ggdraw object

Examples

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

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

kedata_custom(
  plotname = p1,
  footer_col = "grey",
  logo = "inst/extdata/logo/logokedata.png",
  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.