Extract random effects in tidy data format.

tidy_re(x, keep = c("fit", "main", "xlab", "ylab"), ...)

Arguments

x

a fitted gam object as produced by gam().

keep

A vector of variables to keep.

...

Further arguments passed to plot.gam

See also