Skip to contents

Set gridded layers

Usage

clue_gridded(scene, file, type, name = NULL, ...)

Arguments

scene

scene(1)
the CLUE scene to which to add a gridded layer.

file

character(1)
path to a raster file that can be read with rast, or an item read in with that function.

type

character(1)
type of the gridded layer. This determines where the layer can be used. Possible values are "initial", "restrictions", "driver", "conversion", "preference" or "kernel". See Details.

name

character(1)
name of the layer as it will be called when setting up land types with clue_landtype.

...

additional arguments for for writing files with writeRaster.