importRasters: Conveniently import raster files

Description Usage Arguments Value See Also

Description

Look in path and import all of the raster files with extension ext into a single object, determined by as. this function used mixedsort from the gtools package to pull in the files in alphanumeric order.

Usage

1
importRasters(path, as = brick, ext = ".grd")

Arguments

path

The file path in which to look for raster files.

as

The function used to combine the rasters. brick, stack and list should all work.

ext

The file extension for to identify rasters in path.

Value

A single object, of the class determined by as.

See Also

mixedsort


SEEG-Oxford/seegSDM documentation built on May 9, 2019, 11:08 a.m.