Description Usage Arguments Value Author(s) References Examples
Computes the Variance Partition Components for dose-response meta-analysis.
1 | vpc(object)
|
object |
an object of class |
A vector containing the variance partition components for each non-referent observation.
Alessio Crippa, alessio.crippa@ki.se
Goldstein H, Browne W, Rasbash J. Partitioning variation in multilevel models. Understanding Statistics: Statistical Issues in Psychology, Education, and the Social Sciences. 2002 Dec 2;1(4):223-31.
1 2 3 4 5 6 7 8 9 10 11 | ## loading data
data("sim_os")
## Quadratic (one-stage) dose-response model
quadr <- dosresmeta(logrr ~ dose + I(dose^2), id = id, se = se, type = type,
cases = cases, n = n, data = sim_os, proc = "1stage")
## Plot of the estimated vpc
plot(sim_os$dose[sim_os$se!=0], vpc(quadr), xlab = "dose")
lines(lowess(sim_os$dose[sim_os$se!=0], vpc(quadr)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.