Introduction to vtree5 months ago
Introduction | Two examples | Basic features of a variable tree | Variable trees compared to contingency tables | Features of vtree | Technical overview | The vtree function | Mini tutorial | Percentages | Displaying a legend and hiding node labels | Text wrapping | Pruning | The prune parameter | The keep parameter | The prunebelow parameter | The follow parameter | Targeted pruning | The prunesmaller parameter | Labels for variables and nodes | Changing variable labels with the labelvar parameter | Changing node labels with the labelnode parameter | Targeted node labels using the tlabelnode parameter | Text and text formatting | Markdown-style codes for text formatting | HTML-like codes for text formatting | Adding text to nodes using the text parameter | Targeted text using the ttext parameter | Specification of variables | prefix is.na: | wildcard # | wildcard * | prefix i: | prefix r: (for REDCap) | prefix any: | prefix none: | prefix all: | prefix notall: | prefix tri: | specification variable=value | specifications variablevalue | Displaying summary statistics in nodes | Default summaries | Specification of variables in the summary argument | Control codes: %noroot%, %leafonly%, %var=v%, and %node=n% | Customized summaries | The %trunc% code | R expressions in the summary argument | More than one variable | Targeted summaries | Pattern trees and pattern tables | Pattern tables | Indicator variables | The VennTable function | Using the summary parameter in pattern tables | Checking for missing values with the check.is.na parameter | Colors | REDCap checkboxes | prefix r: | suffix @ | variable prefixes rany:, rnone:, rall:, and rnotall: | variable prefix ri: | Deprecated: variable prefixes stem: and rc: | The DOT script generated by vtree | Extracting a list of information about a variable tree | Ways to call vtree | Calling vtree interactively | Calling vtree from knitr and R Markdown | Generating PNG files | Embedding image files | Generating an image file but not displaying it | Generating an htmlwidget in an HTML document | svtree: Using vtree in Shiny | Generating a data frame by specifying subset sizes | Examples | Rudimentary CONSORT diagrams | Examples using R datasets | Esophageal cancer | Hair and eye color | Titanic | mtcars | UCBAdmissions | ChickWeight | InsectSprays | ToothGrowth
