caption_ksnet: Set KSNET caption

View source: R/caption_ksnet.r

caption_ksnetR Documentation

Set KSNET caption

Description

Set at the bottom-right of the plot KSNET.

Usage

caption_ksnet(...)

Arguments

...

a character vector with other caption information such as Source or Notes. See Details.

Details

Currently, since the double caption is a bit tricky, only works when come across with theme_ksnet_light when more information is supplied.#'

Value

A character vector of length two.

Examples


library(ggplot2)
ggplot(mtcars,aes(mpg))+
  geom_density()+
  labs( caption = caption_ksnet() )

# If more caption information if supplied, must go with theme_ksnet_light
ggplot(mtcars,aes(mpg))+
  geom_density()+
  labs( caption = caption_ksnet('Fuente: ECV') )+
  theme_ksnet_light()


octmedina/ksnet documentation built on April 18, 2023, 3:34 p.m.