Sets up a random effect for the levels of x.
Use the by-argument to request random slopes.
a grouping variable: must be a factor
further arguments handed over to s,
See random.effects in mgcv.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.