bbolker / bbolker/reformulas

noSpecials for propto

Open
#2 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
7
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hi Ben,

I'm not sure if this is the problem, but I am getting a problem with the formula in glmmTMB. Let me know if this should be in the glmmTMB issues. I think when I have a propto structure in the formula it doesn't get rid of propto with the `noSpecials` function.

```
> noSpecials(sub_specials(y ~ x + homdiag(1 + x | spp)), delete = F)
y ~ x + (1 + x + spp)
```
```
> noSpecials(sub_specials(y ~ x + propto(1 + x | spp)), delete = F)
y ~ x + propto(1 + x + spp)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the two noSpecials(sub_specials(...)) examples from the issue, comparing the homdiag and propto results. Trace how noSpecials handles the propto structure and verify that the completed change removes propto as expected while preserving the existing homdiag behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.