Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow comparison of more than two models when simulating #2

Closed
rpsychologist opened this issue Oct 21, 2017 · 0 comments
Closed

Allow comparison of more than two models when simulating #2

rpsychologist opened this issue Oct 21, 2017 · 0 comments

Comments

@rpsychologist
Copy link
Owner

Currently simulate(object, formula = formula) only allows at most two different formulas, in a named list with the names "correct" or "wrong". It would be better to allow custom names and any number of formulas. eg

f <- list("3_lvl_correct" = "y ~ treatment * time + (1 + time | subject) + (time | cluster)",
             "3_lvl_no_cor" = "y ~ treatment * time + (1 + time | subject) +  (time || cluster)",
             "2_lvl" = "y ~ treatment * time + (1 + time | subject)"
)
@rpsychologist rpsychologist changed the title Allow comparison of more than two models when simulation Allow comparison of more than two models when simulating Oct 21, 2017
rpsychologist added a commit that referenced this issue May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant