View source: R/create_edgelist.R
create_edgelist | R Documentation |
Create dataframe of edgelist based on social networks and fertility data (LISS: wj18a_EN_1.0p.sav)
create_edgelist(data = NULL, vars = NULL)
data |
Tibble which is the result of |
vars |
Vector with variable names of 25 variables describing alter-alter-ties |
Tibble with variable edgelist
which includes a dataframe with edgelist for each respondent
data <- read_data() |> translate() |> change_column_types() |>
fix_errors() |> create_relation_labels()
create_edgelist(data[1, vars_alter_ties])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.