sem.net.addvar.influential: Compute a list of user-specified network statistics using the...

View source: R/networkFun.R

sem.net.addvar.influentialR Documentation

Compute a list of user-specified network statistics using the "influential" package and add it to the existing data.

Description

Compute a list of user-specified network statistics using the "influential" package and add it to the existing data.

Usage

sem.net.addvar.influential(
  model.network.stat.var.list,
  data,
  model.network.var.i,
  stats,
  statsname,
  netstats.rescale,
  netstats.options = NULL
)

Arguments

model.network.stat.var.list

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

data

a list containing both the non-network and network data

model.network.var.i

an index indicating a specific network within all networks

stats

a network statistics that can be calculated using package "influential"

statsname

name of the network statistics

netstats.rescale

a logical value indicating whether to rescale network statistics to have mean 0 and sd 1

netstats.options

a list with names being the argument names for calculating the network statistics, and values being the argument values

Value

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


networksem documentation built on June 8, 2025, 10:33 a.m.