metaconfoundr() | R Documentation |
metaconfoundr()
standardizes data frames with information on how well a set
of studies control for a set of variables. In this approach, a set of domain
experts agree on the variables that are required to properly control for
confounding for a scientific question. Then, for a given confounder, the
studies are described as being adequately controlled, inadequately
controlled, or controlled with some concerns. metaconfoundr()
is intended
to standardize data for use in mc_heatmap()
and mc_trafficlight()
.
See the vignette on data preparation for more information on how to set up
your evaluation.
metaconfoundr(.df, data_format = mc_detect_layout())
.df |
A data frame. See the vignette on data preparation for more details. |
data_format |
The format of the data. Detected automatically by default,
but explicit options include |
a tibble
metaconfoundr(ipi) metaconfoundr(ipi_wide) ipi_wide2 <- ipi_wide %>% dplyr::rename(scope = construct) metaconfoundr(ipi_wide2, mc_wider(construct = "scope"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.