Learn R Programming

bfastSpatial (version 0.6.2)

timeStackMODIS: Creates a time stack of Landsat layers

Description

Creates a stack of MODIS layers, with time written to z dimension. Works in anolog way to timeStack

Usage

timeStackMODIS(x, pattern = NULL, ...)

Arguments

x

character. dir containing the files to be stacked or character list (the files). IN the former case, it is recommended to use the pattern argument

pattern
...

Arguments to be passed to writeRaster. If specifying a filename, it is strongly recommended to also set a datatype.