rm_strips: Remove facet strips from a ggplot

View source: R/rm_strips.R

rm_stripsR Documentation

Remove facet strips from a ggplot

Description

Remove facet strips from a ggplot

Usage

rm_strips(axis = "xy")

Arguments

axis

Which axis to remove facets along? Either of "x", "y" or "xy".

Examples


data <- tibble::tibble(x = 1:3, y = 1, z = 3:1)

ggplot2::ggplot(data, ggplot2::aes(x = x, y = x)) +
  ggplot2::geom_line() +
  ggplot2::facet_grid(. ~ y) +
  rm_strips()


rscherrer/speciomer documentation built on March 11, 2023, 5:37 p.m.