nbarrowman / vtree

An R package for calculating and drawing variable trees
https://nbarrowman.github.io/vtree
75 stars 6 forks source link

Feature Request #32

Closed TarJae closed 2 years ago

TarJae commented 2 years ago

Thank you for this package. prunesmaller is a very handy feature! vtree(FakeData,"Severity Sex Age Category",sameline=TRUE,prunesmaller=3).

Is there an opposite available like prunehigher? To prune nodes that contain high numbers of observations.

nbarrowman commented 2 years ago

Good to hear that you're finding prunesmaller useful!

I have added a new parameter (I called it prunebigger). You can install the development version 5.6.2 from github. Instructions are in the README for this repository. Let me know if this does what you were looking for.

TarJae commented 2 years ago

Thank you very much. Works like charm!