print.summary.copas: Print method for summary of Copas selection model

Description Usage Arguments Details Author(s) See Also Examples

View source: R/print.summary.copas.R

Description

Print method for objects of class summary.copas.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## S3 method for class 'summary.copas'
print(
  x,
  backtransf = x$backtransf,
  digits = gs("digits"),
  digits.pval = max(gs("digits.pval"), 2),
  digits.prop = gs("digits.prop"),
  scientific.pval = gs("scientific.pval"),
  big.mark = gs("big.mark"),
  header = TRUE,
  ...
)

Arguments

x

An object of class summary.copas.

backtransf

A logical indicating whether results should be back transformed in printouts and plots. If backtransf=TRUE (default), results for sm="OR" are printed as odds ratios rather than log odds ratio, for example.

digits

Minimal number of significant digits, see print.default.

digits.pval

Minimal number of significant digits for p-value of overall treatment effect, see print.default.

digits.prop

Minimal number of significant digits for proportions, see print.default.

scientific.pval

A logical specifying whether p-values should be printed in scientific notation, e.g., 1.2345e-01 instead of 0.12345.

big.mark

A character used as thousands separator.

header

A logical indicating whether information on title of meta-analysis, comparison and outcome should be printed at the beginning of the printout.

...

other arguments to the function will be ignored (this option included only to conform with R standards)

Details

This function prints a summary of a Copas analysis, performed using the function copas. It complements the graphical summary of the results, generated using plot.copas.

Specifically it prints a table where the:

first column corresponds to the x-axis in plots 3 & 4 from plot.copas;

second column corresponds to the treatment effect displayed in plot 3 from plot.copas;

third and fourth columns give the confidence intervals for this treatment effect,

fifth colum gives the p-value for an overall treatment effect,

sixth column gives the p-value for residual publication bias (the y-axis of plot 4 from plot.copas (see help(plot.copas) under plot 4 for a further explanation of this p-value))

seventh column gives an approximate estimate of the number of studies the model suggests remain unpublished if the probability of publishing the study with the largest SE is as in column 1.

Below this is displayed the results of the Copas analysis for the smallest degree of selection for which the p-value for evidence of residual selection bias exceeds sign.rsb (default: 0.1). This is simply extracted from the corresponding row in the table above.

Lastly, the usual random effects estimate (based on the DerSimonian-Laird method) and 95% confidence interval is printed.

Author(s)

James Carpenter James.Carpenter@lshtm.ac.uk, Guido Schwarzer sc@imbi.uni-freiburg.de

See Also

copas, plot.copas, summary.copas

Examples

1
2
3
4
5
6
7
8
9
data(Fleiss1993bin, package = "meta")

# Perform meta analysis, effect measure is odds ratio (OR)
#
m1 <- metabin(d.asp, n.asp, d.plac, n.plac, data=Fleiss1993bin, sm="OR")

# Print summary of Copas analysis
#
summary(copas(m1), level=0.95)

metasens documentation built on Jan. 16, 2021, 5:38 p.m.