plot_zt | R Documentation |
A forked version of the of comrad::plot_comm_traits_evolution()
.
The main difference is the (faster) use of rectangles instead of hexes to
represent occupied areas of the trait distribution, and more straightforwards
plotting options.
plot_zt( comsie_tbl, fill_by = "clade", xlim = c(0, max(comsie_tbl$t)), ylim = c(-7.5, 7.5), binwidths = c(100, 0.01), alpha = 1 )
comsie_tbl |
a tibble, e.g. output of |
fill_by |
How should rectangles be coloured? either "species" or "clade". |
xlim |
length 2 num vector to pass to ggplot's |
ylim |
length 2 num vector to pass to ggplot's |
binwidths |
length 2 num vector, horizontal and vertical widths of the rectangles. |
alpha |
the ggplot parameter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.