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 = " | "
)

Arguments

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