create_edgelist {FertNet} | R Documentation |
Create dataframe of edgelist based on social networks and fertility data (LISS: wj18a_EN_1.0p.sav)
Description
Create dataframe of edgelist based on social networks and fertility data (LISS: wj18a_EN_1.0p.sav)
Usage
create_edgelist(data = NULL, vars = NULL)
Arguments
data |
Tibble which is the result of |
vars |
Vector with variable names of 25 variables describing alter-alter-ties |
Value
Tibble with variable edgelist
which includes a dataframe with edgelist for each respondent
Examples
data <- read_data() |> translate() |> change_column_types() |>
fix_errors() |> create_relation_labels()
create_edgelist(data[1, vars_alter_ties])
[Package FertNet version 0.1.2 Index]