Introduction

hutan is a package for tree manipulation.

To calculate the zero constraint tree (Susko 2014), for example:

    library(hutan)
    library(ape)

    data( siphonophore_ml )
    plot( siphonophore_ml )

    data( siphonophore_constraint )
    plot( siphonophore_constraint )

    zc <- zero_constrained( siphonophore_ml, siphonophore_constraint )
    plot( zc )


caseywdunn/hutan documentation built on June 12, 2020, 3:12 a.m.