vtree icon indicating copy to clipboard operation
vtree copied to clipboard

An R package for calculating and drawing variable trees

vtree - An R package for calculating & drawing variable trees

CRAN
status CRAN
downloads

Variable trees are diagrams that display information about nested subsets of a data frame.

                 

Installation

You can install the current version of vtree (version 5.4.6) from CRAN

install.packages("vtree")

Or install the latest development release (v5.5.8) from github

remotes::install_github("nbarrowman/[email protected]")

To get the vignette as well you need to specify build_vignettes=TRUE:

remotes::install_github("nbarrowman/[email protected]",build_vignettes=TRUE)

More information

  • vtree is available on CRAN

  • A comprehensive introduction to vtree is available in the vignette

  • A cheat sheet (pdf) is available

  • Examples:

    • https://rpubs.com/nbarrowman/Data_exploration_with_vtree
    • https://rpubs.com/nbarrowman/missing_values_vtree
    • https://rpubs.com/nbarrowman/pruning_a_variable_tree
    • https://rpubs.com/nbarrowman/CONSORT-style
  • Please report bugs or other issues here.