gbm (version 2.1.5)

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, ...)

Arguments

x

A numeric vector.

prob

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

...

Additional optional arguments to be passed onto rug

Value

No return values.

See Also

plot, quantile, jitter, rug.

Examples

Run this code
# NOT RUN {
x <- rnorm(100)
y <- rnorm(100)
plot(x, y)
quantile.rug(x)
# }

Run the code above in your browser using DataLab