ORplot.sub: A sub function for ORplot and HRplot

Description Usage Arguments Value

View source: R/ORplot.R

Description

Plot for odds ratios for a S3 object of glm

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
ORplot.sub(
  result,
  type = 1,
  xlab = "",
  ylab = "",
  show.OR = TRUE,
  show.CI = FALSE,
  sig.level = 1,
  cex = 1.2,
  lwd = 2,
  pch = 18,
  col = NULL,
  ...
)

Arguments

result

A resultant data.frame of function extractOR

type

an integer defining the shape of plots; default value is 1

xlab

label for the horizontal-axis; defaults to "Odds Ratios"

ylab

label for the vertical axis; defaults to "".

show.OR

A logical value; Whether or not show p values on plot

show.CI

A logical value; Whether or not show 95% CI values on plot

sig.level

A numeric value of upper limit of p value of showing variables

cex

A numerical value giving the amount by which plotting OR/HR symbols should be magnified relative to the default, defaulting 1.2.

lwd

The line width, a positive number, defaulting to 2.

pch

Either an integer specifying a symbol or a single character to be used as the default in plotting OR/HR points.

col

A specification for the default plotting color.

...

Further arguments to be passed to plot

Value

This function return NULL invisibly and draw graphs


moonBook documentation built on Jan. 5, 2022, 9:06 a.m.