plot_gam: Plot GAM model

View source: R/plot_gam.R

plot_gamR Documentation

Plot GAM model

Description

Display graphical representation of a gam model for bivariate relationships. Model specification can be set with the ellipsis argument (dot-dot-dot).

Usage

plot_gam(data, x, y, xlab, ylab, round_to = 1, ...)

Arguments

data

Dataset from where to extract x and y variables.

x

Numeric. Variable for the x-axis.

y

Numeric. Variable for the y-axis.

xlab

Character. Label for x in the plot.

ylab

Character. Label for y in the plot.

round_to

Numeric. Intervals for mean and SE calculations.

...

Further arguments for method.args in geom_smooth.


nim-ach/ASQ3 documentation built on May 8, 2023, 10:21 p.m.