mdc.plot: Mean based dot chart with error bars.

Description Usage Arguments Author(s) Examples

View source: R/mdc.plot.R

Description

Creates a plot of means with error bars for a categorical predictor and continuous response variable..

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
mdc.plot(
  x,
  y,
  pch = 19,
  col = 1,
  ylim = c(-3, 3),
  xlab,
  ylab,
  xlas = 1,
  ord,
  std = TRUE,
  add = FALSE,
  lg = 0,
  ug = 1,
  xjit = 0
)

Arguments

x

Categorical predictor.

y

Continuous response.

pch

Shape definition.

col

Color definition.

ylim

Y-axis limits.

xlab

X-axis label.

ylab

Y-axis label.

xlas

X-axis label orientation.

ord

Re-ordering vector for the predictor levels.

std

LOGICAL: should y be standardized?

add

LOGICAL: should the new values be added to the current plot?

lg

Lower guide for the x-axis.

ug

Upper guide for the x-axis.

Author(s)

Matthew K. Lau

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

ECGen/ComGenR documentation built on July 23, 2021, 11:44 p.m.