Learn R Programming

lidR (version 2.2.5)

set.colors: Automatic colorization

Description

Attribute a color to each element of a vector

Usage

set.colors(x, palette, trim = Inf, value_index = FALSE)

Arguments

x

A vector.

palette

function. A color palette function. Default is height.colors provided by the package lidR.

trim

numeric.