This previously worked fine a few months back, so I suspect it is an issue in the last update. I am using a natural spline in my propensity score formula and receive the following error:
It is clear that the parsing syntax is having trouble with the "1" that comes at the end of the variable created by the ns formula (i.e., the number of the knot being created).
I will see if I can create a reproducible example, but I am hoping that it might be something obvious to the developers when they see the error.
UPDATE: I used the previous version of WeightIt and the problem still exists so I will see if I can create an example. While I just ran this last week with no errors, I may have updated another package or something else may have changed.
This previously worked fine a few months back, so I suspect it is an issue in the last update. I am using a natural spline in my propensity score formula and receive the following error:
The summary of the model is given below
It is clear that the parsing syntax is having trouble with the "1" that comes at the end of the variable created by the ns formula (i.e., the number of the knot being created).
I will see if I can create a reproducible example, but I am hoping that it might be something obvious to the developers when they see the error.
UPDATE: I used the previous version of WeightIt and the problem still exists so I will see if I can create an example. While I just ran this last week with no errors, I may have updated another package or something else may have changed.