Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print.copas

Print method for Copas selection model


Description

Print method for objects of class copas.

Usage

## S3 method for class 'copas'
print(
  x,
  backtransf = x$backtransf,
  digits = gs("digits"),
  digits.se = gs("digits.se"),
  ...
)

Arguments

x

An object of class 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.se

Minimal number of significant digits for standard deviations and standard errors, see print.default.

...

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

Details

This function prints the following information:

Range of gamma0 values used (see help(copas));

Range of gamma1 values used (see help(copas));

Largest SE of all studies in meta-analysis;

Range of probability publishing trial with largest SE;

The next table gives details relating to the summary of the contour plot. Specifically, it gives details from fitting a straight line to each treatment-contour in the contour plot. Column 1 (headed level) shows the treatment-contours; column 2 (nobs) shows the number of observations used by the contour plot command within the copas function to plot this contour line; column 3 (adj.r.square) shows the adjusted r-square from fitting a straight line to this contour; columns 4 & 5 show the slope and its standard error from fitting a straight line to this contour.

Next, the printout of summary.copas is shown.

Author(s)

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

See Also

Examples

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")

# Perform Copas analysis
#
cop1 <- copas(m1)
cop1

metasens

Statistical Methods for Sensitivity Analysis in Meta-Analysis

v0.6-0
GPL (>= 2)
Authors
Guido Schwarzer [cre, aut] (<https://orcid.org/0000-0001-6214-9087>), James R. Carpenter [aut] (<https://orcid.org/0000-0003-3890-6206>), Gerta Rücker [aut] (<https://orcid.org/0000-0002-2192-2560>)
Initial release
2021-01-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.