is_isolated: Find simulations that have reached a threshold along one...

Description Usage Arguments Value

View source: R/is_isolated.R

Description

Find simulations that have reached a threshold along one dimension

Usage

1
is_isolated(trajectories, dim, th)

Arguments

trajectories

A data frame containing the speciation cube coordinates through time of the simulations.

dim

Along what dimension to check? Either of "spatial", "ecological" or "mating".

th

Threshold value for the coordinate at the final time step. Above this value, returns a TRUE, otherwise a FALSE.

Value

A boolean vector indicating which simulations did reach at least the specified threshold value along the specified dimension of the speciation cube.


rscherrer/epianalysis documentation built on May 26, 2019, 2:32 p.m.