Open sebsilas opened 1 year ago
Good afternoon, I have a similar problem. Have you already resolved the issue?
Hi @evagrosfeld. Yes, I think it's because you can only have one treat
variable (I just noticed this in the documentation). I moved one of my treat
variables (condition
in my example above) to the covariates
argument, and it works now.
Were you trying to use two or more variables for treat
?
Indeed, I was. Thank you, inserting one of the treat variables as covariates variable solves the issue!
I recently updated R and my packages and the below code, which was previously working, is no longer working:
The error is:
Error in if(!INT & isGam.y) { : the condition has length > 1