Plot a phylospatial
object
plot.phylospatial.Rd
Plot a phylospatial
object
Arguments
- x
phylospatial
object- y
Either
"tree"
or"comm"
, indicating which component to plot.- max_taxa
Integer giving the maximum number of taxon ranges to plot if
y = "tree"
.- ...
Additional arguments passed to plotting methods, depending on
y
and the class ofx$spatial
. Fory = "tree"
, see plot.phylo; fory = "comm"
, see plot or plot.sf.
Examples
ps <- ps_simulate()
plot(ps, "tree")
plot(ps, "comm")