I built a chain of marks in R, but I don't like the pretty hugh arrows that the graphic function draws. Is there a way to make heads smaller?
library( markovchain ) transition.matrix <- matrix( data = c( 0.5, 0, 0, 0.5, 0.2, 0, 0, 0.8, 1 ), nrow = 3, ncol = 3, dimnames = list( c( "A", "B", "C" ), c( "A", "B", "C" ) ) ) transition.matrix <- new( "markovchain", transitionMatrix = transition.matrix ) print( transition.matrix ) plot( transition.matrix )
source share