Description Usage Arguments Value Methods (by class) Examples
This function converts a NetStatSet
or NetSampleStatSet
into a long format
dataframe
1 2 3 4 5 6 7 | to_data_frame(netStatSet)
## S4 method for signature 'NetStatSet'
to_data_frame(netStatSet)
## S4 method for signature 'NetSampleStatSet'
to_data_frame(netStatSet)
|
netStatSet |
A |
A long format dataframe containing the name of the original network, the original network network statistic, the name of the manipulated network, the manipulated network network statistic and the name of the network statistic.
NetStatSet
: Converter for NetSampleStatSet
NetSampleStatSet
: Converter for NetSampleStatSet
1 2 3 4 5 6 | data(GroupA)
GroupA_Net = as_NetSample(GroupA, 1:20, node.variables = list(community = c(rep(1, 10), rep(2,10))),
sample.variables = list(group = c(rep(1, 10), rep(2,10))))
Jackknife_GroupA_Net = net_apply(GroupA_Net, node_jackknife)
GlobEff_GroupA_Net = net_stat_apply(Jackknife_GroupA_Net, global_efficiency)
head(to_data_frame(GlobEff_GroupA_Net))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.