tornado_plot: A Simple Tornado Plot in Base R

View source: R/basic_tornado_plot.R

tornado_plotR Documentation

A Simple Tornado Plot in Base R

Description

Provide middle value and standard errors. Assumes symmetrical.

Usage

tornado_plot(
  cf,
  se,
  df = NULL,
  level = 0.95,
  parm = NULL,
  labels = FALSE,
  xlab = "Coefficient confidence intervals",
  ylab = "",
  xlim = NULL,
  ylim = NULL,
  las = 1,
  lwd = 1,
  lty = c(1, 2),
  pch = 19,
  col = 1,
  length = 0,
  angle = 30,
  code = 3,
  ...
)

Arguments

cf

Central values

se

Standard errors

df

df

level

level

parm

parm

labels

labels

xlab

xlab

ylab

ylab

xlim

xlim

ylim

ylim

las

las

lwd

lwd

lty

lty

pch

pch

col

col

length

length

angle

angle

code

code

...

...

Details

https://www.r-statistics.com/2010/07/visualization-of-regression-coefficients-in-r/

Value

plot

Examples

tornado_plot(cf = c(a=2, b=3), se = c(1,2), labels = TRUE)


n8thangreen/plotCostEffectiveness documentation built on Feb. 6, 2023, 4:53 a.m.