View source: R/plot_nested1D.R
plot.nested1D | R Documentation |
This method should be used to plot smooth effects
of class "si.smooth.1D"
.
## S3 method for class 'nested1D'
plot(
x,
inner = FALSE,
n = 100,
xlim = NULL,
ylim = NULL,
maxpo = 10000,
trans = identity,
...
)
x |
a smooth effect object. |
inner |
if TRUE we are doing to plot the inner transformation, rather that then outer smooth effect. |
n |
number of grid points used to compute main effect and c.i. lines. For a nice smooth plot this needs to be several times the estimated degrees of freedom for the smooth. |
xlim |
if supplied then this pair of numbers are used as the x limits for the plot. |
ylim |
if supplied then this pair of numbers are used as the y limits for the plot. |
maxpo |
maximum number of residuals points that will be used by layers such as
|
trans |
monotonic function to apply to the smooth and residuals, before plotting. Monotonicity is not checked. |
... |
currently unused. |
An object of class c("plotSmooth", "gg")
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.