get_term: Extract partial effects for specified model terms

View source: R/get-terms.R

get_termR Documentation

Extract partial effects for specified model terms

Description

Extract partial effects for specified model terms

Usage

get_term(data, fit, term, n = 100, ...)

Arguments

data

A data frame containing variables used to fit the model. Only first row will be used.

fit

A fitted object of class gam.

term

The (non-linear) model term of interest.

...

Further arguments passed to seq_range.


adibender/pammtools documentation built on June 12, 2025, 11:41 p.m.