plot.nichfillr_sim: Plot a 'nichefillr_sim' object. If the simulation object...

Description Usage

View source: R/vis.R

Description

Plot a nichefillr_sim object. If the simulation object contains a trait history, this function will by default plot a 'pollock plot'. If the object contains no trait history it will plot the trait values of the extant species, extinct species (optionally), and ancestors (optionally). Currently only work for 2 dimensional simulations, eventually will work with higher dimensions through t-sne dimension reduction.

Usage

1
2
3
## S3 method for class 'nichfillr_sim'
plot(x, fitness_contour = TRUE, contour_res = 100,
  expand_factor = 0.1)

rdinnager/nichefillr documentation built on Dec. 3, 2019, 7:13 a.m.