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 |
is the |
nvec |
is a vector of the number of individuals in the networks. |
to |
indicates the direction of the conversion. For a matrix of explanatory variable |
Value
the transformed data.frame
.
[Package CDatanet version 2.2.0 Index]