Add type="terms" support for predict.merMod#19
Conversation
|
@copilot can you try again? |
|
@copilot could you please try again? |
Co-authored-by: annahuynhly <97189987+annahuynhly@users.noreply.github.com> Agent-Logs-Url: https://github.com/annahuynhly/lme4/sessions/421d10e1-3947-4c1f-8bb8-c832d476af22
Co-authored-by: annahuynhly <97189987+annahuynhly@users.noreply.github.com> Agent-Logs-Url: https://github.com/annahuynhly/lme4/sessions/421d10e1-3947-4c1f-8bb8-c832d476af22
Co-authored-by: annahuynhly <97189987+annahuynhly@users.noreply.github.com> Agent-Logs-Url: https://github.com/annahuynhly/lme4/sessions/421d10e1-3947-4c1f-8bb8-c832d476af22
Implemented and pushed a full retry for
Done — I retried and pushed the updated implementation in commit |
|
@copilot looking at the source code for In general, your code suggestions look a lot different but they could fundamentally be the same thing. What do you think? |
... Yes — they’re fundamentally the same idea (decompose predictions by fixed-effect terms and carry a |
Implements support for
type = "terms"inpredict.merMod, replacing the previous unimplemented/unused behavior for thetermsargument.<issue_title>type = "terms" for predict.merMod</issue_title>
Changes made
"terms"as a validtypeoption inpredict.merMod.type = "terms".termsargument (terms object, names, or numeric indices).predict.merMod.Rddocumentation to describe the new behavior.tests/testthat/test-predict.Rfor:Notes on verification
R/predict.R,man/predict.merMod.Rd, andtests/testthat/test-predict.R.R/Rscriptbinaries are not installed.Original prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.