Description Usage Arguments Details Value See Also Examples
Changes default settings to metaPar.
1 |
... |
Lists of named parameter settings |
This function is similar as metaPar, only it changes the settings in metaPar
permenantly and will affect all subsequent plots until a new setting is
specified.
Valid parameters are listed in gpar
for each of the named
arguments.
The named arguments are:
box | List of parameters for the sample size box. |
diamond | List of parameters for the overall effect diamond. |
lines | List of parameters for the confidence intervals. |
refLine | List of parameters for the null hypothesis line. |
summaryLine | List of parameters for the summary estimate line. |
heading | List of parameters for the heading of the confidence interval graph. |
label | List of parameters for the axis labels. |
axis | List of parameters for the x-axis. |
title | List of parameters for the title. |
subtitle | List of parameters for the subtitle. |
text | List of parameters for the table texts. |
hetStat | List of parameters for the heterogeneity measures. |
None
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | metaParDefaults(box=list(fill="royalblue", col="royalblue"),
lines=list(col="darkblue"),
diamond=list(fill="royalblue", col="royalblue"),
heading=list(col="royalblue"),
axis=list(cex=0.8, col="orange"),
refLine=list(col="orange"),
summaryLine=list(col="orange"),
label=list(col="royalblue"),
text=list(col="darkblue"),
hetStat=list(col="royalblue")
)
metaPar()
## draw forest plot with default settings
library(meta)
data(Olkin95)
meta1 <- metabin(event.e, n.e, event.c, n.c, data=Olkin95,
subset=c(41,47,51,59), sm="RR", method="I")
Data <- meta2DF(meta1)
matrix <- metaDF2Matrix(Data)
drawMeta(matrix, plotPar=metaPar())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.