The rug is not really a separate plot.
Add rug to plot r.
A marginal rug plot is essentially a one dimensional scatter plot that can be used to visualize the distribution of data on each axis.
The rug and the confidence interval lines have been added by print plotgam which adds some default layers to empty plotgam objects.
The colour the ticks are plotted in.
Adds a rug representation 1 d plot of the data to the plot.
Usage rug x ticksize 0 03 side 1 lwd 0 5 arguments.
However it uses short lines to represent.
Plot ozone solar r data airquality however these measurements happen to include some missing values which are omitted from the scatter plot but could be informative.
By default the rug lines are drawn with a length that corresponds to 3 of the total plot size.
Some devices will round the default width up to 1.
In this particular data set the marginal rug is not as informative as it could be.
1992 statistical models in s.
Some devices will round the default width up to 1.
Add a rug to a plot.
The length of the ticks making up the rug.
Add a rug to a plot description.
Which plots only the smooth effects diplaying one on each page.
On which side of the plot box the rug will be plotted.
The line width of the ticks.
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.
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.
Notice that plot gamviz returns an object of class plotgam which is initially empty the layers in the previous plots e g.
One common approach to include them in the plot is by adding marginal rugs after the main scatter plot has been plotted.
On which side of the plot box the rug will be plotted.
Positive lengths give inwards ticks.
There will be a warning if any finite values are omitted but non finite values are omitted silently.
Positive lengths give inwards ticks.
Adds a rug representation 1 d plot of the data to the plot.
Normally 1 bottom or 3 top.
This can be avoided by setting addlay false in the call to print plotgam.
The colour the ticks are plotted in.
Because of the way rug is implemented only values of x that fall within the plot region are included.
Like a strip plot it represents values of a variable by putting a symbol at various points along an axis.