Shared ggplot2 theme used across every plot returned by the
package. Provides a consistent typography, white background, bottom
legend, and tight title spacing. Network plots pass
network = TRUE to drop axes, ticks, and grid lines while
keeping the rest of the look-and-feel.
Arguments
- baseSize
Numeric. Base font size in points. Defaults to 11.
- baseFamily
Character. Base font family. Defaults to
""(device default).- network
Logical. If
TRUE, build on top oftheme_void()instead oftheme_minimal(); used byplotDirectedFlowandplotmethods that render networks.
Examples
library(ggplot2)
ggplot(mtcars, aes(mpg, hp)) +
geom_point() +
theme_ramen()