save.sim.results-methods: save.sim.results

Description Usage Arguments Value Author(s)

Description

Saves the simulation results from each replicate to file. It will save up to 3 csv files, one for the abundance estimation for individuals, one for the abundance estimation of clusters (where applicable) and one for detectability estimates and model selection information.

Usage

1
save.sim.results(simulation, filepath = character(0), sim.ID = numeric(0))

Arguments

simulation

object of class Simulation which has been run.

filepath

optionally a path to the directory where you would like the files saved, otherwise it will save it to the working directory.

sim.ID

optionally you can add a simulation ID to the filename

Value

invisibly returns the original simulation object

Author(s)

L. Marshall


DSsim documentation built on March 26, 2020, 7:39 p.m.