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

as.data.frame.netmeta

Create a data frame from an object of class netmeta


Description

The as.data.frame method returns a data frame containing information on individual studies, e.g., estimated treatment effect and its standard error.

Usage

## S3 method for class 'netmeta'
as.data.frame(x, row.names = NULL, optional = FALSE, details = FALSE, ...)

Arguments

x

An object of class netmeta.

row.names

NULL or a character vector giving the row names for the data frame.

optional

A logical. If TRUE, setting row names and converting column names (to syntactic names) is optional.

details

A logical. If TRUE, additional variables of less interest are included in data frame.

...

Additional arguments.

Value

A data frame is returned by the function as.data.frame.

Author(s)

Guido Schwarzer sc@imbi.uni-freiburg.de

See Also

Examples

data(Senn2013)

# Conduct network meta-analysis
#
net1 <- netmeta(TE, seTE, treat1, treat2, studlab, data = Senn2013, sm = "MD")

as.data.frame(net1)
as.data.frame(net1, details = TRUE)

netmeta

Network Meta-Analysis using Frequentist Methods

v1.4-0
GPL (>= 2)
Authors
Gerta Rücker [aut] (<https://orcid.org/0000-0002-2192-2560>), Ulrike Krahn [aut], Jochem König [aut] (<https://orcid.org/0000-0003-4683-0360>), Orestis Efthimiou [aut] (<https://orcid.org/0000-0002-0955-7572>), Guido Schwarzer [aut, cre] (<https://orcid.org/0000-0001-6214-9087>)
Initial release
2021-05-11

We don't support your browser anymore

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