easystats / easystats/datawizard
Passing control options to lmer in adjust with multilevel=TRUE
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 238
- Forks
- 18
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 4
Description
This is a feature request, not a bug report.
It would be helpful to be able to pass control options (e.g.) lmerControl(optimizer='bobyqa') to datawizard::adjust (I really want to pass them from correlation::correlation to datawizard::adjust to lme4::lmer). I have some models that will not converge without some control parameter tweaks, which I can do manually with lmer but not in the convenient context of multilevel correlation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at datawizard::adjust's multilevel=TRUE path and trace its call to lme4::lmer. Check how correlation::correlation is expected to pass control options such as lmerControl(optimizer='bobyqa'). Done means those options reach lme4::lmer and the behavior is covered by relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100