gbm (version 2.1.8)

quantile.rug: Quantile rug plot

Description

Marks the quantiles on the axes of the current plot.

Usage

# S3 method for rug
quantile(x, prob = 0:10/10, ...)

Value

No return values.

Arguments

x

A numeric vector.

prob

The quantiles of x to mark on the x-axis.

...

Additional optional arguments to be passed onto rug

Author

Greg Ridgeway gregridgeway@gmail.com.

See Also

Examples

Run this code
x <- rnorm(100)
y <- rnorm(100)
plot(x, y)
quantile.rug(x)

Run the code above in your browser using DataCamp Workspace