confint | R Documentation |
Obtain the confidence interval for the marginal mean or the contrast.
## S3 method for class 'prediction_cf'
confint(object, parm, level = 0.95, include_se = FALSE, ...)
## S3 method for class 'surv_effect'
confint(object, parm, level = 0.95, transform, ...)
## S3 method for class 'treatment_effect'
confint(object, parm, level = 0.95, transform, ...)
object |
Object to construct confidence interval. |
parm |
( |
level |
( |
include_se |
( |
... |
Not used. |
transform |
( |
A matrix
of the confidence interval.
robin_res <- robin_glm(
y_b ~ treatment * s1,
data = glm_data, treatment = treatment ~ s1, contrast = "log_risk_ratio"
)
confint(robin_res$marginal_mean, level = 0.7)
confint(robin_res$contrast, parm = 1:3, level = 0.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.