View source: R/meas_effect_cond.R
meas_effect_cond | R Documentation |
Compute estimates of the conditional association measures.
meas_effect_cond(
data,
formula,
exposure.name,
confound.names,
condition.names = confound.names,
family = c("binomial", "poisson", "gaussian")
)
bootc(
data,
formula,
exposure.name,
confound.names,
condition.names = confound.names,
family = c("binomial", "poisson", "gaussian")
)
data |
Dataframe of raw data. |
formula |
The model formula. |
exposure.name |
Name of the exposure variable. |
confound.names |
Name of confound variables. |
condition.names |
Character vector of conditioned variable names. By
default, it will be the same as the |
family |
Name of distribution. Must be in
|
Estimate the expected conditional outcomes and the conditional effect or association measures. See exercise 3 of chapter 3 for a full example on how to use this function.
Dataframe in a useable format for rsample::bootstraps
.
Section 3.3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.