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 |
w |
Vector of estimated weights, as outputted by |
col0 |
Color of line that is drawn. |
lwd0 |
Line width. |
lty0 |
Line type. |
type |
Should weights be drawn versus original |
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().