mf_credits: Plot credits

View source: R/mf_credits.R

mf_creditsR Documentation

Plot credits

Description

Plot credits (sources, author, year...).

Usage

mf_credits(
  txt = "Source(s) & Author(s)",
  pos = "bottomleft",
  col,
  cex = 0.6,
  font = 3,
  bg = NA
)

Arguments

txt

text of the credits, use '\n' to add line breaks

pos

position, one of 'bottomleft', 'bottomright' or 'rightbottom'

col

color of the text, hex code or color name given by colors. The default color is the highlight color (see mf_theme).

cex

size of the text

font

font of the text

bg

background color, hex code or color name given by colors

Value

No return value, credits are displayed.

Examples

mtq <- mf_get_mtq()
mf_map(mtq)
mf_credits(txt = "Author\nSources - Year")

mapsf documentation built on Oct. 9, 2026, 5:07 p.m.