lidR (version 1.0.2)

set.colors: Automatic colorization

Description

Attribute a color to each element of a vector

Usage

set.colors(x, palette, ncolors = 50, trim = 1)

Arguments

x

A vector

palette

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

ncolors

numeric. The number of colors in the palette.

trim

numeric.