Distance based methods are a fast, widely used approach in phylogenetic inference. Distance-based approaches are often used e.g. in the study of HIV, to identify clusters of closely related sequences for further analysis. This section outlines some of these approaches using R.