The as.data.frame
method returns a data frame containing
information on membership of studies / pairwise comparisons to a
(sub)network.
# S3 method for netconnection
as.data.frame(x, ...)
A data frame is returned by the function
as.data.frame
.
An object of class netconnection
.
Additional arguments (ignored).
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
netconnection
# 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)
Run the code above in your browser using DataLab