Description Usage Arguments Value Examples

Edge creation for graph

1 2 |

`state1` |
a string defining the starting state of the edge |

`state2` |
a string defining the ending state of the edge |

`type` |
a string equal to "null", "std", "up", "down" or "abs" |

`decay` |
a nonnegative number to give the strength of the exponential decay into the segment |

`gap` |
a nonnegative number to constrain the size of the gap in the change of state |

`penalty` |
a nonnegative number. The penality associated to this state transition |

`K` |
a positive number. Threshold for the Biweight robust loss |

`a` |
a positive number. Slope for the Huber robust loss |

a one-row dataframe with 9 variables

1 | ```
Edge("Dw", "Up", "up", gap = 1, penalty = 10, K = 3)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.