plot_comm_traits_anim: Plot an animation of trait distribution through generations

View source: R/plot_comm_traits_anim.R

plot_comm_traits_animR Documentation

Plot an animation of trait distribution through generations

Description

Animated version of plot_comm_traits(), lopping through generations. Dope.

Usage

plot_comm_traits_anim(
  comrad_tbl,
  generation_range = c(0, Inf),
  binwidth = 0.01
)

Arguments

comrad_tbl

a tibble containing the output of a comrad simulation, as produced by run_simulation().

generation_range

numeric vector with length 2, supplying the first and last generation to plot from the dataset. Defaults to every generation in the table

binwidth

numeric, the width used for binning.

Author(s)

Théo Pannetier


TheoPannetier/comrad documentation built on April 8, 2023, 8:06 a.m.