OR_grid_large: Make a color-coded grid of odds ratios

Description Usage Arguments

View source: R/OR_grid.R

Description

Make a color-coded grid of odds ratios

Usage

1
2
3
OR_grid_large(dat, x = "Exposure.Variable", y = "Strata", OR = "OR",
  p.value = "p.value", alpha = 0.05, breaks = c(0, 0.3, 0.7, 1, 2, 5,
  Inf), label_size = NULL, coord_flip = FALSE)

Arguments

dat

A data frame

x

The value to map to the x axis

y

The value to map to the y axis

OR

The odds ratio

p.value

The p-value

alpha

The cutoff for significance

breaks

The discrete values by which to color code ORs

label_size

The size of the labels

coord_flip

Whether or not to flip coordinates


graggsd/sggplot documentation built on May 28, 2019, 8:54 p.m.