ape-methods function

Available methods from the APE package

Available methods from the APE package

The generics ape::Nedge(), ape::Nnode(), and ape::Ntip() can be used directly on objects of class aphylo , aphylo_estimates , multiAphylo

Returns

Integer with the number of edges, nodes, or tips accordignly.

Examples

set.seed(12312) atree <- raphylo(50, P = 2) Nnode(atree) Ntip(atree) Nedge(atree) multitree <- rmultiAphylo(10, 50, P = 2) Nnode(multitree) Ntip(multitree) Nedge(multitree)

See Also

Other information: aphylo-info

  • Maintainer: George Vega Yon
  • License: MIT + file LICENSE
  • Last published: 2024-12-03