m-clark / mixedup

An R package for extracting results from mixed models that are easy to use and viable for presentation.
http://m-clark.github.io/mixedup
MIT License
67 stars 2 forks source link

extract_random_effects fails for gam objects with non-re smooths #15

Closed m-clark closed 4 years ago

m-clark commented 4 years ago

Right now, if the model includes other smooth terms, the indexing for the random effects won't work. This can probably be solved by creating a smooths list object that are just the model$smooth that are constructed with bs = 're' from the outset.

m-clark commented 4 years ago

Currently passes internal tests and one 'in-the-wild' check.