add_diamond: diamond_df

View source: R/plotting-functions.R

add_diamondR Documentation

diamond_df

Description

This function creates diamonds for moderators and summary statistics.

Usage

add_diamond(plot, data, fill = "grey20", colour = NA)

Arguments

plot

a ggplot2

data

a data.frame

fill

ggplot2 fill value

colour

character. A hex code. If provided, gives diamond coloured border


JConigrave/msemtools documentation built on Aug. 10, 2022, 12:09 p.m.