
compParm(object, strVal, operator = "/", vcov. = vcov, od = FALSE, pool = TRUE, display = TRUE)
vcov
is the default,
but sandwich
is also an option (for obtaining robust standard errors).drm
.operator
argument).
collapse
in drm
for specifying parameter constraints in models, either through
data frames or lists with formulas without intercept (-1).
# Fitting a model with names assigned to the parameters!
spinach.m1 <- drm(SLOPE~DOSE, CURVE, data = spinach,
fct = LL.4(names = c("b", "lower", "upper", "ed50")))
## Calculating ratios of parameter estimates for the parameter named "ed50"
compParm(spinach.m1, "ed50")
## Calculating differences between parameter estimates for the parameter named "ed50"
compParm(spinach.m1, "ed50", "-")
Run the code above in your browser using DataLab