format_edge: Takes in a row from a graph dataframe, returns that row...

View source: R/fct_graph_helpers.R

format_edgeR Documentation

Takes in a row from a graph dataframe, returns that row formatted as R code

Description

Takes in a row from a graph dataframe, returns that row formatted as R code

Usage

format_edge(edge_df)

Arguments

edge_df

One row from a gfpop::graph() graph df, with column names

Value

a string corresponding to the code that, when run, produces the given edge

Examples

graph <- gfpop::graph(type = "std")
format_edge(graph[1,])

julianstanley/gfpopgui documentation built on April 16, 2022, 2:58 a.m.