By now, if we do this:
library(vtree)
vtree(mtcars, "cyl am",
sameline = TRUE,
follow=list(cyl="4"))
I would like to sort in descending order without manipulating the data. Is this possible?
Desired output:
By now, if we do this:
library(vtree)
vtree(mtcars, "cyl am",
sameline = TRUE,
follow=list(cyl="4"))
I would like to sort in descending order without manipulating the data. Is this possible?
Desired output:
I can't see a way of doing this in the
vtree
function, but you can swap the nodes in the output if that is any use to you?