Skip to contents

Generates a factor layer when passed to generate_stack().

Usage

factor_layer(id, levels, in_memory = FALSE)

Arguments

id

(character(1))
Layer id.

levels

(character())
Factor levels.

in_memory

(logical(1))
If FALSE (default), layer is written to disk.

Value

Named list()