Learn R Programming

briskaR (version 0.1.2)

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 = T)

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)
# }

Run the code above in your browser using DataLab