You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I used
RobinCar::robincar_glm2(df=dfSim,
treat_col = "A", response_col = "y",
g_family = "nb",
formula = as.formula("y ~ A + Xc + Xb"))
The outputs have errors and say:
Error in family$family : $ operator is invalid for atomic vectors
In addition: Warning message:
In func() : Prediction unbiasedness does not hold.
But if I used RobinCar::robincar_glm2(df=dfSim,
treat_col = "A", response_col = "y",
g_family = "nb",
formula = as.formula("y ~ A + Xc + Xb"))$result
It will give correct outputs.
The text was updated successfully, but these errors were encountered:
If I used
RobinCar::robincar_glm2(df=dfSim,
treat_col = "A", response_col = "y",
g_family = "nb",
formula = as.formula("y ~ A + Xc + Xb"))
The outputs have errors and say:
Error in family$family : $ operator is invalid for atomic vectors
In addition: Warning message:
In func() : Prediction unbiasedness does not hold.
But if I used RobinCar::robincar_glm2(df=dfSim,
treat_col = "A", response_col = "y",
g_family = "nb",
formula = as.formula("y ~ A + Xc + Xb"))$result
It will give correct outputs.
The text was updated successfully, but these errors were encountered: