extract.endpoint: Extract the final timepoints from a set of NetLogo experiment...

Description Usage Arguments Details Value Examples

View source: R/EndpointSummaryStats.R

Description

Creates a new dataframe for easy analysis comparing multiple Pheno-Evo model runs from a parameter sweep using NetLogo BehaviorSpace, by storing only the end results of each model run. If the experiments in your BehaviorSpace run lasted for differing lengths of time (e.g., if some populations went extinct rapidly and those experiments ended prematurely), this function will figure out what the last timepoint was that had a nonzero population, and extract it.

Usage

1
extract.endpoint(NLdata, run.nums)

Arguments

NLdata

The full dataframe containing data from all BehaviorSpace experiments, imported from NetLogo.

run.nums

A vector of the run numbers given to the experiments by BehaviorSpace.

Details

It is fairly important to make sure that the column names are standardized as described in the Pheno-Evo tutorial.

Value

A new dataframe with all the data from just the final timepoints of all experiments.

Examples

1
2

jessicaaudreylee/PhenoEvoR documentation built on Sept. 7, 2020, 3:50 a.m.