gof_vcergm: Goodness-of-fit diagnostics on VCERGM

Description Usage Arguments

View source: R/gof_vcergm.R

Description

Goodness-of-fit diagnostics on VCERGM

Usage

1
2
3
4
gof_vcergm(object, object2 = NULL, networks, attr = NULL,
  directed = FALSE, netstat = NULL, degree.spline = 3,
  interior.knot = 10, nsim = 100, seed = 1234, log = FALSE,
  theme = NULL)

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'.

object2

A formula object of the form (network object) ~ <model terms> for GoF. By default, it is the same as object.

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.

netstat

A vector of GoF network statistics names. Default is the name from ERGM estimates.

degree.spline

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

interior.knot

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

seed

Seed number for simulation. Default is 1234.

log

Logarithm for observed and simulated network statistics. Default is FALSE.

theme

ggplot theme. Default is NULL.


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