View source: R/homophilidata.R
homophili.data | R Documentation |
homophili.data
converts the matrix of explanatory variables between directed network models and symmetric network models.
homophili.data(data, nvec, to = c("lower", "upper", "symmetric"))
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 |
The transformed data.frame
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.