Adds a *rug* representation (1-d plot) of the data to the plot.

1 2 |

`x` |
A numeric vector |

`ticksize` |
The length of the ticks making up the ‘rug’. Positive lengths give inwards ticks. |

`side` |
On which side of the plot box the rug will be plotted. Normally 1 (bottom) or 3 (top). |

`lwd` |
The line width of the ticks. Some devices will round the
default width up to |

`col` |
The colour the ticks are plotted in. |

`quiet` |
logical indicating if there should be a warning about clipped values. |

`...` |
further arguments, passed to |

Because of the way `rug`

is implemented, only values of `x`

that fall within the plot region are included. There will be a
warning if any finite values are omitted, but non-finite values are
omitted silently.

Chambers, J. M. and Hastie, T. J. (1992)
*Statistical Models in S.*
Wadsworth & Brooks/Cole.

`jitter`

which you may want for ties in `x`

.

1 2 3 4 5 6 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.