Closed JaschaDraeger closed 4 years ago
I get an error when I try to set the arrows in a transition plot proportional to the boxes.
library(Gmisc) transMatrix <- as.table(matrix(c(16, 4, 16, 64),ncol=2,byrow=T)) transitions <- transMatrix %>% getRefClass("Transition")$new(label=c("Step 1", "Step 2")) transitions$render()
Until here it works. However, when I set the arrows to be proportional to the boxes, I get an error:
transitions$lwd_prop_type = "box" transitions$render()
[.default`(trnstn_set, row, ) : invalid subscript type 'closure'
lwd_prop_type="all" and lwd_prop_type="set" work.
lwd_prop_type="all"
lwd_prop_type="set"
Is there an easy way to fix this or did I do something wrong? Thank you.
I think I solved this in the dev-branch. Please check by using devtools::install_github
devtools::install_github
It works, thank you a lot for this quick fix!
I get an error when I try to set the arrows in a transition plot proportional to the boxes.
Until here it works. However, when I set the arrows to be proportional to the boxes, I get an error:
lwd_prop_type="all"
andlwd_prop_type="set"
work.Is there an easy way to fix this or did I do something wrong? Thank you.