weightLine {selectMeta}R Documentation

Function to plot estimated weight functions

Description

This function faclitiates plotting of estimated weight functions according to the method in Dear and Begg (1992) or its non-increasing version described in Rufibach (2010).

Usage

weightLine(p, w, col0, lwd0, lty0 = 1, type = c("pval", "empirical")[1])

Arguments

p

Vector of p-values.

w

Vector of estimated weights, as outputted by DearBegg or DearBeggMonotone.

col0

Color of line that is drawn.

lwd0

Line width.

lty0

Line type.

type

Should weights be drawn versus original p-values (type == "pval") or versus the empirical distribution of the p-values (type === "empirical").

Author(s)

Kaspar Rufibach (maintainer), kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch

References

Dear, K.B.G. and Begg, C.B. (1992). An Approach for Assessing Publication Bias Prior to Performing a Meta-Analysis. Statist. Sci., 7(2), 237–245.

Rufibach, K. (2011). Selection Models with Monotone Weight Functions in Meta-Analysis. Biom. J., 53(4), 689–704.

See Also

This function is used in weightLine.

Examples

# This function is used in the help file for the function DearBegg().

[Package selectMeta version 1.0.8 Index]