rasters_to_mat: Given a path to rasters and a factor for aggregating, create...

Description Usage Arguments Value

Description

Given a path to rasters and a factor for aggregating, create a brick and save as mat. Not to be confused with raster2mat which handles the save.

Usage

1
2
rasters_to_mat(srcpath = ".", fact = 5, logscale = FALSE,
  dstfile = "./output.mat.gz", verbose = FALSE, ...)

Arguments

srcpath

character, the path to the raster files (.grd)

fact

numeric the positive aggregating factor

logscale

logical if TRUE

dstfile

the destination filename (.mat or .mat.gz)

verbose

logical

...

further arguments for raster2mat()

Value

value returned by sinkrtools::raster2mat() or NULL


BigelowLab/sinkrtools documentation built on May 5, 2019, 2:45 p.m.