run_simulations_from_MLE: Start standard simulations from set of MLE results

Description Usage Arguments Value

View source: R/result_analysis.R

Description

Useful function for runing robustness analyses. Runs a set of simulations per result of MLE obtained previously.

Usage

1
2
run_simulations_from_MLE(results_ML, time, replicates, M,
  lac_treshold = 10)

Arguments

results_ML

Data frame with MLE as returned by DAISIE_ML.

time

Numeric containing lenght of simulation in time units.

replicates

Number of replicates to be run per each set of MLE (i.e., per line of the results_ML object).

M

Numeric specifying number of mainland species.

lac_treshold

Numeric with cutoff value for cladogenesis estimates. Lines of results_ML with values above this threshold are not included in the simulations.

Value

Same data frame as results_ML but with extra column with the ID of each simulation ran (so that these can be matched to the generating simulations, e.g. ontogeny simulations).


Neves-P/utilSIE documentation built on Nov. 20, 2019, 7 a.m.