Learn R Programming

soilDB (version 2.7.1)

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)

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::rgb2Munsell default: FALSE

Value

A data.frame containing estimated color mixture