Description Usage Arguments Value Author(s) Examples
View source: R/changeSimulationsPath.R
Reset file paths in the values
of Simulations objects and also in raster
objects.
1 | changeSimulationsPath(simulations, path)
|
simulations |
|
path |
|
The function returns simulations
with replaced paths to the files.
If simulations
is in memory, it has no effect.
Kristina B. Helle, kristina.helle@uni-muenster.de
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # if data are taken from files, the paths need to be updated
## Not run:
library(sensors4plumesData)
data(radioactivePlumes_area)
radioactivePlumes_area = changeSimulationsPath(radioactivePlumes_area,
c(paste0(path.package("sensors4plumesData"),
"/extdata/radioactivePlumes_area_finaldose.grd"),
paste0(path.package("sensors4plumesData"),
"/extdata/radioactivePlumes_area_maxdose.grd"),
paste0(path.package("sensors4plumesData"),
"/extdata/radioactivePlumes_area_time.grd"))
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.