barplot.PostHoc: Barplot method for objects of class PostHoc

Description Usage Arguments Value Author(s) Examples

View source: R/Methods4PostHoc.R

Description

Barplot method for objects of class PostHoc

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## S3 method for class 'PostHoc'
barplot(
  height,
  col = "lightblue",
  labelsCol = "black",
  space2max = 0,
  UseGrouping = TRUE,
  ylim = NULL,
  main = "",
  ylab = "",
  xlab = "",
  lty = 1,
  drawAxis = TRUE,
  rightshift = 0,
  additionalTextGrouping = "",
  superpose = FALSE,
  cex.grouping = 1,
  cex.ticks = 0.1,
  cex.lab = 1,
  ylog = FALSE,
  ...
)

Arguments

height

an object of class PostHoc to be printed

col

the colour of the bars (default = "lightblue")

labelsCol

the colour of the bars (default = "black")

space2max

space between the upper limit of the confidence interval and the label¨

UseGrouping

should the grouping be added to the plots (default = TRUE)

ylim

range of the vertical axis

main

character with the title of the plot (default = ”)

ylab

label of the vertical axis

xlab

label of the horizontal axis

lty

type of line

drawAxis

should the axis be drawn (default = TRUE)

rightshift

a number specifying a (small) right shift of the line

additionalTextGrouping

character vector with additional text to the grouping

superpose

should the graph be superposed to an existing graph (default = FALSE)

cex.grouping

size of the labels of groups

cex.ticks

size of the thicks defining the the limits of the confidence intervals

cex.lab

size of the labels

ylog

should the vertical axis be expressed in a logarithmic scale (default = FALSE)

...

parameters to be passed to the barlot function

Value

none

Author(s)

Rodrigo Labouriau

Examples

1
2
3
MM <- glm(Y ~ Treatment+0,  data=DeIdentifiedExample)
GG <- posthoc(MM)
barplot(GG)

Example output

Loading required package: igraph

Attaching package:igraphThe following objects are masked frompackage:stats:

    decompose, spectrum

The following object is masked frompackage:base:

    union

Loading required package: multcomp
Loading required package: mvtnorm
Loading required package: survival
Loading required package: TH.data
Loading required package: MASS

Attaching package:TH.dataThe following object is masked frompackage:MASS:

    geyser

postHoc documentation built on July 1, 2020, 7:22 p.m.