Skip to contents

Generate a random tree and return it as a pfc object

Usage

rpfc(n, method = ape::rcoal, ...)

Arguments

n

Number of tips in the generated tree.

method

A function to generate a tree. Default is ape::rcoal. See ape::rtree() for more options.

...

Additional arguments to pass to method

Value

a pfc object

Examples

plot(rpfc(100))