Saves the simulation results from each replicate to file. It will save up to 3 txt 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.
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