robincar_contrast.Rd
Estimate a treatment contrast using the result of RobinCar::robincar_linear(), RobinCar::robincar_glm(), or RobinCar::robincar_SL() using the delta method.
robincar_contrast(result, contrast_h, contrast_dh = NULL)
A LinModelResult or GLMModelResult
An optional function to specify a desired contrast
An optional jacobian function for the contrast
A contrast object which has the following attributes:
A dplyr::tibble() with the label of the treatment contrast (e.g., 1 vs. 0), the estimate of the treatment contrast, estimated SE, and p-value based on a z-test with estimate and SE.
The variance-covariance matrix for the treatment contrast estimates.
List of model settings used for the contrast.