Deprecated: only used in PedonPC functionality; use estimateColorMixture instead

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

Arguments

x

a data.frame object containing sRGB coordinates ('r', 'g', 'b') in [0,1]

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

Value

A data.frame containing mixed colors