orm_graph: Make a ggplot figure

View source: R/ormForestplot.R

orm_graphR Documentation

Make a ggplot figure

Description

Function to get a ggplot figure from a matrix x

Usage

orm_graph(
  x,
  theme = ggplot2::theme_get(),
  header = NULL,
  row.names.y = NULL,
  shape = 19,
  limits = NULL,
  breaks = c(0.5, 1, 1.5, 2, 3, 4)
)

Arguments

x

a matrix or a data.frame

theme

the desired ggplot2 theme

header

names of the table columns

row.names.y

new names for the variable rows

shape

point shape, see aes_linetype_size_shape

limits

the x axis limits as a vector, see also: scale_continuous

breaks

the x axis breaks as a vector,help see also: scale_continuous


rix133/ormPlot documentation built on Sept. 20, 2023, 5:53 a.m.