View source: R/estimate_vcergm.R
Estimate VCERGM coefficients
1 2 3 |
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. |
lag |
Lag in temporal networks. Default is 0 (i.e. VCERGM(0)) |
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). |
constant |
TRUE for constrained model of homogeneous VCERGM. FALSE for unconstrained model for heterogeneous VCERGM. Default is FALSE. |
Tol |
Tolerance level used for calculating MPLE (IRLS iterations). Default is 0.01. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.