| kedata_custom | R Documentation |
Menempatkan footer dibagian bawah yang terdiri dari logo dan data source
kedata_custom(plotname, title, subtitle, data_source, footer_col = "red", logo)
plotname |
ggplot object |
title |
character for plot title |
subtitle |
character for plot subtitle |
data_source |
character for plot caption |
footer_col |
default to red |
logo |
path to image logo |
ggdraw object
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.