Description Usage Arguments Author(s) Examples
Generates a funnel plot for a fitted fat
object.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
x |
An object of class |
ref |
A numeric value indicating the fixed or random effects summary estimate. If no value is provided then it will be retrieved from a fixed effects meta-analysis (if possible). |
confint |
A logical indicator. If |
confint.level |
Significance level for constructing the confidence interval. |
confint.col |
The color for filling the confidence interval. Choose |
confint.alpha |
A numeric value between 0 and 1 indicating the opacity for the confidence region. |
confint.density |
The density of shading lines, in lines per inch. The default value of |
xlab |
A title for the x axis |
add.pval |
Logical to indicate whether a P-value should be added to the plot |
... |
Additional arguments. |
Thomas Debray <thomas.debray@gmail.com>
Frantisek Bartos <f.bartos96@gmail.com>
1 2 3 4 5 6 7 8 9 10 | data(Fibrinogen)
b <- log(Fibrinogen$HR)
b.se <- ((log(Fibrinogen$HR.975) - log(Fibrinogen$HR.025))/(2*qnorm(0.975)))
n.total <- Fibrinogen$N.total
# A very simple funnel plot
plot(fat(b=b, b.se=b.se), xlab = "Log hazard ratio")
# Plot the funnel for an alternative test
plot(fat(b=b, b.se=b.se, n.total=n.total, method="M-FIV"), xlab = "Log hazard ratio")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.