This method should be used to plot smooth effects
of class "si.smooth.1D"
.
# S3 method for nested1D
plot(
x,
inner = FALSE,
n = 100,
xlim = NULL,
ylim = NULL,
maxpo = 10000,
trans = identity,
...
)
An object of class c("plotSmooth", "gg")
.
a smooth effect object.
if TRUE we are doing to plot the inner transformation, rather that then outer smooth effect.
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.
if supplied then this pair of numbers are used as the x limits for the plot.
if supplied then this pair of numbers are used as the y limits for the plot.
maximum number of residuals points that will be used by layers such as
resRug()
and resPoints()
. If number of datapoints > maxpo
,
then a subsample of maxpo
points will be taken.
monotonic function to apply to the smooth and residuals, before plotting. Monotonicity is not checked.
currently unused.