Creates a time series of jpegs. One jpeg is created for each year of the map output of f2a.raster.
Usage
f2a.map.jpeg(years, folder, OUTPUT.fn, height = 10,
width = 10 * (dim(mapgrid.dist)[2] / dim(mapgrid.dist)[1]),
units = "in", res = 400)
Arguments
years
Vector of the years included in the time series data.
folder
Folder (full path) containing the input rasters. This is also the folder where the output will be written.
OUTPUT.fn
Filename of output from f2a.raster.
height
The height of the device.
width
The width of the device. The default is the width that will give accurate ratio of height to width for a raster.
units
The units in which height and width are given, which can be px (pixels, the default), in (inches), cm or mm.
res
The nominal resolution in ppi which will be recorded in the bitmap file, if a positive integer. Also used for units other than the default. If not specified, taken as 300 ppi to set the size of text and line widths.