Learn R Programming

soilDB (version 2.8.8)

estimateColorMixture: Estimate color mixtures using weighted average of CIELAB color coordinates

Description

Estimate color mixtures using weighted average of CIELAB color coordinates

Usage

estimateColorMixture(x, wt = "pct", backTransform = FALSE)

Value

A data.frame containing estimated color mixture

Arguments

x

data.frame, typically from NASIS containing at least CIE LAB ('L', 'A', 'B') and some kind of weight

wt

fractional weights, usually area of hz face

backTransform

logical, should the mixed sRGB representation of soil color be transformed to closest Munsell chips? This is performed by aqp::col2Munsell() default: FALSE

Author

D.E. Beaudette