Compute a list of user-specified network statistics values using the "sna" package and add them to the non-network data.
sem.net.addvar.stat(
model.network.stat.var.list,
data,
model.network.var.i,
stats,
statsname,
netstats.rescale,
netstats.options = NULL
)a list with the first value being the list of network statistics names and the second value being the data frame with added network statistics
a list of elements with names corresponding to the network names and values corresponding to lists of network statistics that will be calculated for the corresponding network
a list containing both the non-network and network data
an index indicating a specific network within all networks
a network statistics that can be calculated using package "sna"
name of the network statistics
a logical value indicating whether to rescale network statistics to have mean 0 and sd 1
a list with names being the argument names for calculating the network statistics, and values being the argument values