as.data.frame.netconnection {netmeta} | R Documentation |
Create a data frame from an object of class netconnection
Description
The as.data.frame
method returns a data frame containing
information on membership of studies / pairwise comparisons to a
(sub)network.
Usage
## S3 method for class 'netconnection'
as.data.frame(x, ...)
Arguments
x |
An object of class |
... |
Additional arguments (ignored). |
Value
A data frame is returned by the function
as.data.frame
.
Author(s)
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
See Also
Examples
# Artificial example with two subnetworks
#
t1 <- c("G", "B", "B", "D", "A", "F")
t2 <- c("B", "C", "E", "E", "H", "A")
#
nc2 <- netconnection(t1, t2)
print(nc2, details = TRUE)
as.data.frame(nc2)
[Package netmeta version 2.9-0 Index]