A 3d knot to illustrate what is possible to do with rgl.
Add a rug on top of graph r.
A string that controls which sides of the plot the rugs appear on.
Usage rug x ticksize 0 03 side 1 lwd 0 5 col par fg quiet getoption warn 0 arguments.
The tribal rug and coffee table are living on their own island.
Some devices will round the default width up to 1.
A grid unit object that sets the length of the rug lines.
The length of the ticks making up the rug.
The colour the ticks are plotted in.
The vase pillows and chair all live in the same color category.
Show how geom rug works.
The line width of the ticks.
6x9 bottom 3x5 tribal top.
Normally 1 bottom or 3 top.
It can be set to a string containing any of trbl for top right bottom and left.
Add a scatterplot on top of the ggplot2 2d density chart.
On which side of the plot box the rug will be plotted.
The rug and pillows.
Note you can as well add marginal plots to show these distributions.
Positive lengths give inwards ticks.
A scatterplot displays the relationship between 2 numeric variables.
You can easily add rug on x and y axis thanks to the geom rug function to illustrate the distribution of dots.
Add rug on x and y axis to describe the numeric variable distribution.
Use scale expansion to avoid overplotting of data.
Add a rug to a plot description.