generate_adjacency: Generate Adjacency Matrix from a Set of Latent Positions,...

Description Usage Arguments Details Value Author(s)

View source: R/simulate.R

Description

Generate an adjacency matrix from a matrix of latent positions, nodal covariates, and a vector of coefficients on those covariates.

Usage

1

Arguments

pos

Matrix of latent positions.

Xb

Vector of linear predictors for each dyad.

family

String indicating the data generating process to follow.

...

Additional parameters to be passed to the distance function.

Details

Generate an adjacency matrix from a matrix of latent positions, nodal covariates, and a vector of coefficients on those covariates.

Value

An adjacency matrix. These matrices are of a type produced by the Matrix package.

Author(s)

Jason W. Morgan jason.w.morgan@gmail.com


jason-morgan/dynnet documentation built on May 18, 2019, 4:53 p.m.