View source: R/fct_visNetwork_helpers.R
create_label_individual | R Documentation |
Creates an individual label for an individual edge
create_label_individual( state1, state2, type, parameter, penalty, K, a, min, max, columns = c("type", "penalty"), collapse = " | " )
state1 |
The state where the edge originates |
state2 |
The state to which the edge travels |
type |
The type of edge (see gfpop::graph types) |
parameter |
A parameter, such as '1' for null, or gap otherwise |
penalty |
An edge penalty (see gfpop::graph) |
K |
see gfpop::graph |
a |
see gfpop::graph |
min |
see gfpop::graph |
max |
see gfpop::graph |
columns |
The columns to include in this edge |
collapse |
the character separating edge columns in this label |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.