add_grid: Add grid to an scplot

View source: R/add_grid.R

add_gridR Documentation

Add grid to an scplot

Description

Add grid to an scplot

Usage

add_grid(object, ...)

Arguments

object

An scplot object (class scplot) returned from the scplot() function.

...

Line arguments (see element_line())

Value

An object of class scplot (seescplot()).

See Also

element_line()

Examples

data(exampleAB, package = "scan")
p1 <- scplot(exampleAB$Anja)  |>
  set_theme("minimal")  |>
  add_grid(color = "grey70")

jazznbass/scplot documentation built on Feb. 8, 2025, 6:20 p.m.