mf_credits: Plot credits

Description Usage Arguments Value Examples

View source: R/mf_credits.R

Description

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

Usage

1
2
3
4
5
6
7
8
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

cex

cex of the credits

font

font of the credits

bg

background color

Value

No return value, credits are displayed.

Examples

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

mapsf documentation built on Sept. 24, 2021, 5:06 p.m.