cross_sectional_ergm: Calculate cross-sectional ERGM estimates

Description Usage Arguments

View source: R/cross_sectional_ergm.R

Description

Calculate cross-sectional ERGM estimates

Usage

1
2
3
cross_sectional_ergm(object, networks, attr = NULL, directed = c(TRUE,
  FALSE), degree.spline = 3, interior.knot = 10,
  lambda.range = seq(-3, 3, by = 0.1))

Arguments

object

A formula object of the form (network object) ~ <model terms>. Model terms take the same form of ERGM terms from R package 'ergm'.

networks

A list of observed networks. It should have a list() object.

attr

A list of vertex attributes. Default is NULL. (i.e. No attributes)

directed

TRUE for analyzing directed networks. FALSE for analyzing undirected networks.

degree.spline

Degree of splines. Default is 3 (cubic splines).

interior.knot

Number of interior knots to create splines. Default is 10.

lambda.range

Range of lambda (Tuning parameter). Default is seq(-3, 3, by = 0.1).


jihuilee/VCERGM documentation built on Oct. 9, 2019, 5:23 p.m.