add_grid: Add grid to a plot

Description Usage Arguments Value

View source: R/add_grid.R

Description

Add grid to a plot using abline.

Usage

1
add_grid(at.y, at.x, col = "lightgray", lty = "dotted", lwd = par("lwd"))

Arguments

at.x

x axis grid values

at.y

y axis grid values

col

grid color

lty

line type

lwd

line width

Value

The function adds a grid to a plot using abline.


yapomif documentation built on May 31, 2017, 2:23 a.m.