R/stat_n_text.R

#' Add Text Indicating the Sample Size to a ggplot2 Plot
#'
#' @description `r lifecycle::badge("experimental")`
#'
#' See [EnvStats::stat_n_text()] for details.
#'
#' @returns A plot layer including the sample size text.
#'
#' @name stat_n_text
#' @rdname stat_n_text
#'
#' @importFrom EnvStats stat_n_text
#' @export
NULL

Try the ggplot2.utils package in your browser

Any scripts or data that you put into this service are public.

ggplot2.utils documentation built on June 26, 2024, 1:06 a.m.