easystats / easystats/datawizard

Passing control options to lmer in adjust with multilevel=TRUE

Open
#696 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.