sim_result: Running a Simulation for Neutral Theory analysis given matrix...

Description Usage Arguments Value

View source: R/sim_result_function.R

Description

This function combines the functions mom2 and sim_communities and run_sim functions to run a full simulation (parameter inputs, generate data and estimate).

Usage

1
sim_result(params, log)

Arguments

params

This should be a matrix with parameters to use in a neutral theory simultaion. Each column should be a parameter. Each row is a different combination of parameter estimates

log

This should either be TRUE or FALSE, indicating whether a log file should be generated to track progress

Value

a data frame with each row representing a simulation. Each row include parameters used in the simulations and estiamtes (including 95


kathalexknuts/ntsims documentation built on Oct. 17, 2018, 5:32 a.m.