simFile: Generate simulation file name

View source: R/save.R

simFileR Documentation

Generate simulation file name

Description

Assists with saving and retrieving simulations (e.g., with saveSimList and loadSimList).

Usage

simFile(name, path, time = NULL, ext = "rds")

Arguments

name

Object name (e.g., "mySimOut")

path

Directory location in where the file will be located (e.g., an outputPath).

time

Optional simulation time to use as filename suffix. Default NULL.

ext

The file extension to use (default "rds").

Value

character string giving a file path for a simulation file


PredictiveEcology/SpaDES.core documentation built on April 27, 2024, 1:15 p.m.