re: Random effects constructor for fgam

Description Usage Arguments Details See Also

View source: R/re.R

Description

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

Usage

1
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 May 19, 2017, 11:05 p.m.

Search within the refund package
Search all R packages, documentation and source code