Learn R Programming

gbm (version 2.1.1)

quantile.rug: Quantile rug plot

Description

Marks the quantiles on the axes of the current plot.

Usage

quantile.rug(x,prob=(0:10)/10,...)

Arguments

x
a numeric vector.
prob
the quantiles of x to mark on the x-axis.
...
additional graphics parameters currently ignored.

Value

See Also

plot, quantile, jitter, rug.

Examples

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

Run the code above in your browser using DataLab