vdorie / blme

Bayesian Linear Mixed Effect Models
41 stars 8 forks source link

Environment problem #16

Open JacobGry opened 2 months ago

JacobGry commented 2 months ago

Hello,

if we call blmer within a function, we cannot pass variables to the prior functions (normal, horseshoe, ...) that are only in the environment of the function.

We have built a small example with the iris data to show the bug:

example_bug_blme.txt

Best regards, Jacob Grytzka

vdorie commented 2 months ago

Pushed a fix in acc518f. Let me know if it works and I can push to CRAN.

JacobGry commented 2 months ago

Hello,

as far as I can see, the problem has been fixed by the update.

Best regards, Jacob Grytzka