plotDensityH: Pivotal distributions: Plot pivotal distribution of...

Description Usage Arguments Examples

View source: R/plot-pivotal-distributions.R

Description

Pivotal distributions: Plot pivotal distribution of heterogeneity

Usage

1
  plotDensityH(pivh)

Arguments

pivh

pivotal stream with or without adjustment of independent draws of a pivotal quantity of the heterogeneity.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
bcg   <- bcgVaccineData()
bcg_y <- bcg$logrisk
bcg_d <- bcg$sdiv
bcg_s <- bcg$size
bcg_x <- cbind(1,bcg$x)

set.seed(865287113)
pivUn <- pivotalStream(50, y=bcg_y, d=bcg_d, x=bcg_x,
  adjusted=FALSE)
set.seed(865287113)
pivAd <- pivotalStream(50, y=bcg_y, d=bcg_d, x=bcg_x, s=bcg_s,
  adjusted=TRUE)

pivh <- joinPivotalHeterogeneity(pivUn, pivAd)
plotDensityH(pivh)

metagen documentation built on May 29, 2017, 7:13 p.m.