add_grid {scplot}R 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")

[Package scplot version 0.4.0 Index]