Description Usage Arguments Value
Reads a file in as an excel or a csv and creates an edgelist
1 2 | edge_to_df(edge_file, sheet = 1, parent_col = 1, child_col = 2,
fill = TRUE, column_header = TRUE)
|
edge_file |
The path to an excel or csv edgefile that contains at minimum two columns, a parent and a child. |
sheet |
If an excel document, the sheet that contains the edges |
parent_col |
The column that contains the parent element names |
child_col |
The column that contains the child element names |
fill |
Do parent columns need to be filed? |
column_header |
do column headers exist? _________________________# | parent_1 | child_1 | | | child_2 | | | child_3 | | parent_2 | child_1 | | | child_2 | |
A tibble that con be converted to a dataframe and saved as an Rdata file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.