# Plot estimated effects for model parametric terms

Source:`R/parametric-effects.R`

`draw.parametric_effects.Rd`

Plot estimated effects for model parametric terms

## Arguments

- object
a fitted GAM, the result of a call to

`mgcv::gam()`

.- scales
character; should all univariate smooths be plotted with the same y-axis scale? If

`scales = "free"`

, the default, each univariate smooth has its own y-axis scale. If`scales = "fixed"`

, a common y axis scale is used for all univariate smooths.Currently does not affect the y-axis scale of plots of the parametric terms.

- ci_level
numeric between 0 and 1; the coverage of credible interval.

- ci_col
colour specification for the confidence/credible intervals band. Affects the fill of the interval.

- ci_alpha
numeric; alpha transparency for confidence or simultaneous interval.

- line_col
colour specification used for regression lines of linear continuous terms.

- constant
numeric; a constant to add to the estimated values of the smooth.

`constant`

, if supplied, will be added to the estimated value before the confidence band is computed.- fun
function; a function that will be applied to the estimated values and confidence interval before plotting. Can be a function or the name of a function. Function

`fun`

will be applied after adding any`constant`

, if provided.- rug
logical; draw a rug plot at the bottom of each plot for 1-D smooths or plot locations of data for higher dimensions.

- position
Position adjustment, either as a string, or the result of a call to a position adjustment function.

- angle
numeric; the angle at which the x axis tick labels are to be drawn passed to the

`angle`

argument of`ggplot2::guide_axis()`

.- ...
additional arguments passed to

`patchwork::wrap_plots()`

.- ncol, nrow
numeric; the numbers of rows and columns over which to spread the plots

- guides
character; one of

`"keep"`

(the default),`"collect"`

, or`"auto"`

. Passed to`patchwork::plot_layout()`