rug: Rug

Description Usage Arguments Value Examples

Description

Front-end to rug allowing a formula interface

Usage

1
2
3
4
rug(x, ...)

## S4 method for signature 'formula'
rug(x, data = sys.parent(2), ...)

Arguments

x

A numeric vector or one-sided formula

...

additional arguments for rug

data

A data frame or environment used if x is a formula

Value

As for rug.

Examples

1
2
hist(~medv/rm, MASS::Boston)
rug(~medv/rm, MASS::Boston, col = "red")

BillVenables/WWRGraphics documentation built on Feb. 1, 2021, 12:13 p.m.