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
Trying a very simple use of "invest" exactly as it is outlined in the documentation to get an LD50 and 95% CI, but am getting errors that additional arguments are needed:
Error in invest.glm(MOD_INJ.20, y0 = 0.5) :
'x0.name' is missing, please select a valid predictor variable
In addition: Warning messages:
1: In min(.data[, x0.name]) :
no non-missing arguments to min; returning Inf
2: In max(.data[, x0.name]) :
no non-missing arguments to max; returning -Inf
Built the glm with the following code, and data is attached:
MOD_INJ.20 <- glm(INJ.20~LNTREAT, family=binomial(link=logit)) INJ_14DAT_ALLAVG_LOGIT.txt
The text was updated successfully, but these errors were encountered:
That's a weird error, but I suspect it is because invest() does not know how to extract the raw data from your fitted model. You have two options: (1) refit the model with the data = <data-name> argument, or (2) supply the data via the data argument in invest():
Trying a very simple use of "invest" exactly as it is outlined in the documentation to get an LD50 and 95% CI, but am getting errors that additional arguments are needed:
Error in invest.glm(MOD_INJ.20, y0 = 0.5) :
'x0.name' is missing, please select a valid predictor variable
In addition: Warning messages:
1: In min(.data[, x0.name]) :
no non-missing arguments to min; returning Inf
2: In max(.data[, x0.name]) :
no non-missing arguments to max; returning -Inf
Built the glm with the following code, and data is attached:
MOD_INJ.20 <- glm(INJ.20~LNTREAT, family=binomial(link=logit))
INJ_14DAT_ALLAVG_LOGIT.txt
The text was updated successfully, but these errors were encountered: