# Run function with clade sizes in the order they appear in the input data
data("NewZealand_birds_datalist")
species_count <- DAISIE_count_species(NewZealand_birds_datalist)
# Run function with clade sizes in ascending order
species_count_sorted <- DAISIE_count_species(
NewZealand_birds_datalist,
sort_clade_sizes = TRUE
)
Run the code above in your browser using DataLab