Positive lengths give inwards ticks.
Add rug to r plot.
Add a rug to a plot.
On which side of the plot box the rug will be plotted.
The length of the ticks making up the rug.
There will be a warning if any finite values are omitted but non finite values are omitted silently.
It is a one dimensional display that you can add to existing plots to illuminate information that is sometimes lost in other types of graphs.
Because of the way rug is implemented only values of x that fall within the plot region are included.
The colour the ticks are plotted in.
Positive lengths give inwards ticks.
Normally 1 bottom or 3 top.
The length of the ticks making up the rug.
Normally 1 bottom or 3 top.
1992 statistical models in s.
By default the rug lines are drawn with a length that corresponds to 3 of the total plot size.
The line width of the ticks.
Adds a rug representation 1 d plot of the data to the plot.
A marginal rug plot is essentially a one dimensional scatter plot that can be used to visualize the distribution of data on each axis.
Note you can as well add marginal plots to show these distributions.
Some devices will round the default width up to 1.
Like a strip plot it represents values of a variable by putting a symbol at various points along an axis.
Since the default scale expansion of for continuous variables is 5 at both ends of the scale the rug will not overlap with any data points under the default settings.
Some devices will round the default width up to 1.
Usage rug x ticksize 0 03 side 1 lwd 0 5 arguments.
On which side of the plot box the rug will be plotted.
A scatterplot displays the relationship between 2 numeric variables.
Add a rug to a plot description.
The line width of the ticks.
The colour the ticks are plotted in.
The rug is not really a separate plot.
One common approach to include them in the plot is by adding marginal rugs after the main scatter plot has been plotted.
However it uses short lines to represent.
Adds a rug representation 1 d plot of the data to the plot.