| mf_credits | R Documentation |
Plot credits (sources, author, year...).
mf_credits(
txt = "Source(s) & Author(s)",
pos = "bottomleft",
col,
cex = 0.6,
font = 3,
bg = NA
)
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 |
No return value, credits are displayed.
mtq <- mf_get_mtq()
mf_map(mtq)
mf_credits(txt = "Author\nSources - Year")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.