Learn R Programming

scplot (version 0.5.1)

add_grid: Add grid to an scplot

Description

Add grid to an scplot

Usage

add_grid(object, ...)

Value

An object of class scplot (seescplot()).

Arguments

object

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

...

Line arguments (see element_line())

See Also

element_line()

Examples

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

Run the code above in your browser using DataLab