STEPPCoefPlot: Coef plot from a STEPP analysis

Description Usage Arguments Value

View source: R/STEPPup.R

Description

Coef plot from a STEPP analysis

Usage

1
2
3
STEPPCoefPlot(coefs, groups = NULL, line = c("smooth", "simple", "none"),
  hline, xlab = "x", ylab = "OR", main = "", log, log.scale = T,
  ylim = NULL)

Arguments

coefs

matrix with coefficients and CI

line

for 'smooth' a lowess curve is plotted through the coefficients, 'simple' connects all the points with a line, 'none' omits the line

hline

intercept for help lines, if NULL no lines will be drawn. If missing the log parameter is used to draw a line either at 0 (log=TRUE) or 1 (log=FALSE)

xlab

the x axis label

xlab

the y axis label

log

indicates wheter the coefficients are on a log scale.coef

log.scale

indicates wheter the y axis should use a log scale. Will be ignored if the data are already on a log scale

Value

ggplot object with the coefficient plot


sagade/STEPPup documentation built on Dec. 31, 2020, 3:15 a.m.