Other packages > Find by keyword >

treebalance  

Computation of Tree (Im)Balance Indices
View on CRAN: Click here


Download and install treebalance package within the R console
Install from CRAN:
install.packages("treebalance")

Install from Github:
library("remotes")
install_github("cran/treebalance")

Install by package version:
library("remotes")
install_version("treebalance", "1.2.0")



Attach the package and use:
library("treebalance")
Maintained by
Luise Kuehn
[Scholar Profile | Author Map]
First Published: 2021-09-22
Latest Update: 2023-12-14
Description:
The aim of the 'R' package 'treebalance' is to provide functions for the computation of a large variety of (im)balance indices for rooted trees. The package accompanies the book ”Tree balance indices: a comprehensive survey” by M. Fischer, L. Herbst, S. Kersting, L. Kuehn and K. Wicke (2023) <ISBN: 978-3-031-39799-8>, <doi:10.1007/978-3-031-39800-1>, which gives a precise definition for the terms 'balance index' and 'imbalance index' (Chapter 4) and provides an overview of the terminology in this manual (Chapter 2). For further information on (im)balance indices, see also Fischer et al. (2021) <https://treebalance.wordpress.com>. Considering both established and new (im)balance indices, 'treebalance' provides (among others) functions for calculating the following 18 established indices and index families: the average leaf depth, the B1 and B2 index, the Colijn-Plazzotta rank, the normal, corrected, quadratic and equal weights Colless index, the family of Colless-like indices, the family of I-based indices, the Rogers J index, the Furnas rank, the rooted quartet index, the s-shape statistic, the Sackin index, the symmetry nodes index, the total cophenetic index and the variance of leaf depths. Additionally, we include 9 tree shape statistics that satisfy the definition of an (im)balance index but have not been thoroughly analyzed in terms of tree balance in the literature yet. These are: the total internal path length, the total path length, the average vertex depth, the maximum width, the modified maximum difference in widths, the maximum depth, the maximum width over maximum depth, the stairs1 and the stairs2 index. As input, most functions of 'treebalance' require a rooted (phylogenetic) tree in 'phylo' format (as introduced in 'ape' 1.9 in November 2006). 'phylo' is used to store (phylogenetic) trees with no vertices of out-degree one. For further information on the format we kindly refer the reader to E. Paradis (2012) <http://ape-package.ird.fr/misc/FormatTreeR_24Oct2012.pdf>.
How to cite:
Luise Kuehn (2021). treebalance: Computation of Tree (Im)Balance Indices. R package version 1.2.0, https://cran.r-project.org/web/packages/treebalance. Accessed 01 Apr. 2025.
Previous versions and publish date:
1.0.0 (2021-09-22 21:20), 1.1.0 (2021-10-17 17:10)
Other packages that cited treebalance R package
View treebalance citation profile
Other R packages that treebalance depends, imports, suggests or enhances
Complete documentation for treebalance
Downloads during the last 30 days
03/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/30Downloads for treebalance02468101214TrendBars

Today's Hot Picks in Authors and Packages

gasmodel  
Generalized Autoregressive Score Models
Estimation, forecasting, and simulation of generalized autoregressive score (GAS) models of Creal, ...
Download / Learn more Package Citations See dependency  
shinyBS  
Twitter Bootstrap Components for Shiny
Adds additional Twitter Bootstrap components to Shiny. ...
Download / Learn more Package Citations See dependency  
eSIR  
Extended State-Space SIR Models
An implementation of extended state-space SIR models developed by Song Lab at UM school of Public H ...
Download / Learn more Package Citations See dependency  
simplevis  
Wrappers to Simplify Beautiful "ggplot2" and "leaflet" Visualisation
Wrapper functions around the amazing 'leaflet' package that aims to simplify 'leaflet' visualisatio ...
Download / Learn more Package Citations See dependency  
samplesize  
Sample Size Calculation for Various t-Tests and Wilcoxon-Test
Computes sample size for Student's t-test and for the Wilcoxon-Mann-Whitney test for categorical dat ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA