powered by
Edge creation for gfpop-R-Package graph
Edge( state1, state2, type = "null", decay = 1, gap = 0, penalty = 0, K = Inf, a = 0 )
a one-row dataframe with 9 variables
a string defining the starting state of the edge
a string defining the ending state of the edge
a string equal to "null", "std", "up", "down" or "abs". Default type is "null", the transition to stay on the same segment.
"null"
"std"
"up"
"down"
"abs"
a nonnegative number to give the strength of the exponential decay into the segment
a nonnegative number to constrain the size of the gap in the change of state
a nonnegative number. The penality associated to this state transition
a positive number. Threshold for the Biweight robust loss
a positive number. Slope for the Huber robust loss
Edge("Dw", "Up", "up", gap = 1, penalty = 10, K = 3) Edge(0, 1, "abs", penalty = 2, gap = 1) Edge(0, 0, "null", penalty = 0, K = 2, a = 1) Edge("Dw", "Dw", type = "null", decay = 0.997)
Run the code above in your browser using DataLab