count_non_confounders: Count and plot non-confounders

View source: R/non-confounders.R

count_non_confoundersR Documentation

Count and plot non-confounders

Description

Count and plot non-confounders

Usage

count_non_confounders(.df)

plot_non_confounders(.df, ..., geom = ggplot2::geom_col, sort = TRUE)

Arguments

.df

A data frame, usually the result of metaconfoundr()

...

Arguments passed to geom

geom

The ggplot2 geom to use

sort

Logical. Should the results be sorted?

Value

a tibble or ggplot

Examples


ipi %>%
  metaconfoundr() %>%
  plot_non_confounders(size = 3, geom = ggplot2::geom_point)


metaconfoundr documentation built on Jan. 18, 2023, 1:10 a.m.