Closed Jaeoc closed 1 month ago
Something is going wrong on the BF side, because if I run it through bain, it works:
> bain:::parse_hypothesis(names(coef(fit)), "(cyl, disp) > hp = 0; hp > (disp, cyl) > 0")
$hyp_mat
Intercept cyl disp hp
hp=0 0 0 0 1 0
cyl>hp 0 1 0 -1 0
disp>hp 0 0 1 -1 0
hp>disp 0 0 -1 1 0
hp>cyl 0 -1 0 1 0
disp>0 0 0 1 0 0
cyl>0 0 1 0 0 0
$n_constraints
[1] 1 2 0 4
$original_hypothesis
[1] "(cyl,disp)>hp=0" "hp>(disp,cyl)>0"
I got some warnings when I was writing a glm example related to the parsing of hypotheses:
Although output seems fine as far as I can tell. When I was then creating a more easily reproducible example for this issue I instead got errors..
Gives
Any ideas @cjvanlissa ? I just tried downloading the latest versions of BFpack and bain, but didn't make a difference.