Learn R Programming

metagen (version 1.0)

plotDensityH2: Pivotal distributions: Plot pivot density of the heterogeneity

Description

Pivotal distributions: Plot pivot density of the heterogeneity

Usage

plotDensityH2(pivh)

Arguments

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

Examples

Run this code
bcg   <- bcgVaccineData()
bcg_y <- bcg$logrisk
bcg_d <- bcg$sdiv
bcg_x <- cbind(1,bcg$x)

set.seed(865287113)
pivUn <- pivotalStream(50, y=bcg_y, d=bcg_d, x=bcg_x,
  adjusted=FALSE)
pivh  <- joinPivotalHeterogeneity(pivUn)
plotDensityH2(pivh)

Run the code above in your browser using DataLab