re: Random effects constructor for fgam

View source: R/re.R

reR Documentation

Random effects constructor for fgam

Description

Sets up a random effect for the levels of x. Use the by-argument to request random slopes.

Usage

re(x, ...)

Arguments

x

a grouping variable: must be a factor

...

further arguments handed over to s, see random.effects

Details

See random.effects in mgcv.

See Also

random.effects


refund documentation built on Nov. 17, 2025, 5:06 p.m.

Related to re in refund...