Description Usage Arguments Value Author(s)
View source: R/createModObject.R
This function checks a sim list for a specific object at a specific time, or searches for it in an input folder (i.e. saved outputs). This function simulates the existence of a sim list with specific objects in time t.
1 | createModObject(data, sim = NULL, pathInput, currentTime, fun = readRDS)
|
data |
character string of the object or file name to be searched for |
sim |
simList. Default is 'NULL'. |
pathInput |
path to the directory containing the files to be searched for. |
currentTime |
Numeric. Current time to be used to serach for the object. |
fun |
function to be used to recover the file. Default is 'readRDS' |
A list of the objects that were read from disk. Currently the function only works with '.tif' (i.e. raster) and '.rds' objects.
Tati Micheletti
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.