homophili.data {CDatanet} | R Documentation |
Converting Data between Directed Network Models and Symmetric Network Models.
Description
homophili.data
converts the matrix of explanatory variables between directed network models and symmetric network models.
Usage
homophili.data(data, nvec, to = c("lower", "upper", "symmetric"))
Arguments
data |
A |
nvec |
A vector of the number of individuals in the networks. |
to |
Indicates the direction of the conversion. For a matrix of explanatory variables |
Value
The transformed data.frame
.
[Package CDatanet version 2.2.1 Index]