report_slopes: Report linear slopes from a GAM model

View source: R/report_stats.R

report_slopesR Documentation

Report linear slopes from a GAM model

Description

Report the linear combinations (i.e., slopes) for a GAM model fitted through effect derivatives.

Usage

report_slopes(model, term, ci = 0.95, length = 100, k = 1, ...)

Arguments

model

Object of class "gam".

term

Character. Term present in the model for which estimate an effect

ci

Numeric. Confidence interval for coefficients. Defaults to 0.95.

length

Numeric. This arguments controls the number of (equally spread) values that will be taken to represent the continuous variable.

k

Numeric. Number of decimal places when printing numeric variables (Defaults to 1). Except for expression column.

...

Further parameters passed to the estimate_sloples() from modelbased package.


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