gplot.formula: Formula notation for gplot scatterplots

View source: R/gplots.R

gplot.formulaR Documentation

Formula notation for gplot scatterplots

Description

Specify a gplot via a formula

Usage

## S3 method for class 'formula'
gplot(
  formula,
  data = parent.frame(),
  ...,
  subset,
  ylab = varnames[response],
  ask = dev.interactive(),
  grid = TRUE,
  col.grid = "grey90",
  col.acc = "white"
)

Arguments

formula

a formula, such as y ~ x.

data

a data.frame (or list) from which the variables in formula should be taken. A matrix is converted to a data frame.

...

Arguments to be passed to or from other methods. horizontal = TRUE is also accepted.

subset

an optional vector specifying a subset of observations to be used in the fitting process.

ylab

the y label of the plot(s).

ask

logical, see par.

grid

logical; if TRUE, a background grid will be drawn

col.grid

grid color

col.acc

grid accent color


raredd/plotr documentation built on Nov. 19, 2023, 4:09 a.m.