homophili.data {CDatanet} | R Documentation |
Convert data between directed network models and symmetric network models.
Description
homophili.data
is used to convert 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.1.3 Index]