add_small_legend: Add small legend to ggplot

View source: R/plotting.R

add_small_legendR Documentation

Add small legend to ggplot

Description

add_small_legend is a function to adjust the size of a plot legend. Used in scripts: Robust function: TRUE

Usage

add_small_legend(gg_plot, point_size = 0.5, text_size = 3, space_legend = 0.1)

Arguments

gg_plot

plot of ggplot type

point_size

Size of legend pointers

text_size

Size of legend text

space_legend

Space between legends

Value

Plot with adjusted legend


AndreSjuve/dretools documentation built on Dec. 4, 2024, 3:12 a.m.