tidiers: Extract 1d smooth objects in tidy data format.

tidy_smoothR Documentation

Extract 1d smooth objects in tidy data format.

Description

Extract 1d smooth objects in tidy data format.

Usage

tidy_smooth(x, keep = c("x", "fit", "se", "xlab", "ylab"), ci = TRUE, ...)

Arguments

x

a fitted gam object as produced by gam().

keep

A vector of variables to keep.

ci

A logical value indicating whether confidence intervals should be calculated and returned. Defaults to TRUE.

...

Further arguments passed to plot.gam


adibender/pammtools documentation built on Feb. 27, 2024, 8:40 a.m.