Learn R Programming

moonBook (version 0.1.3)

ORplot.sub: A sub function for ORplot anf HRplot

Description

Plot for odds ratios for a S3 object of glm

Usage

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