Learn R Programming

SciencesPo (version 1.4.1)

Footnote: Add Footnote to ggplot2 Objects

Description

Add footnote to ggplot2 objects.

Usage

Footnote(note, x = 0.85, y = 0.014, hjust = 0.5, vjust = 0.5, newlines = TRUE, fontfamily = "serif", fontface = "plain", color = "gray85", size = 9, angle = 0, lineheight = 0.9, alpha = 1)

Arguments

note
string or plotmath expression to be drawn.
x
the x location of the label.
y
the y location of the label.
hjust
horizontal justification
vjust
vertical justification
newlines
should a new line be appended to the start and end of the string, for spacing?
fontfamily
the font family
fontface
the font face ("plain", "bold", etc.)
color
text color
size
point size of text
angle
angle at which text is drawn
lineheight
line height of text
alpha
the alpha value of the text