Learn R Programming

briskaR (version 1.0.4)

saveIntoFile: Save Particles Dispersion 3D Array to tiff file

Description

Save into tiff file particles dispersion 3D array from toxicIntensity. The output is a RasterStack with a layer per time unit with projection set to CRS="+proj=longlat +datum=WGS84"

Usage

saveIntoFile(
  objectL,
  objectT,
  filename = "ParticlesDispersion.tif",
  format = "GTiff",
  overwrite = TRUE
)

Arguments

objectL

a Landscape object

objectT

a 3D array particles dispersion indexed by time (output from toxicIntensity)

filename

output file name (default "ParticlesDispersion.tif")

format

output format (default=GTiff)

overwrite

if TRUE overwrite file (default TRUE)

Value

a RasterStack object

Examples

Run this code
# NOT RUN {
data(maize_65)
ti <- toxicIntensity(maize.landscape,maize.emitted_pollen)
saveIntoFile(maize.landscape,ti,filename="ParticlesDispersion.tiff",format="GTiff",overwrite=T)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab