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

save.sim.resultsR Documentation

save.sim.results

Description

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.

Usage

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


dsims documentation built on May 29, 2024, 12:10 p.m.