score_control | R Documentation |
score_control()
adds a variable, score
, that summarizes how well a study
controls for a domain or construct. Used to sort heatmaps and traffic light
plots.
score_control(.df, score = c("adequate", "sum", "controlled"))
.df |
A data frame, usually the result of |
score |
The approach used to calculate the score. |
a tibble
library(dplyr) ipi %>% metaconfoundr() %>% filter(is_confounder == "Y") %>% score_control("controlled") %>% arrange(desc(score))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.