histogram_to_rgbwt: histogram_to_rgbwt

View source: R/histogram_to_rgbwt.R

histogram_to_rgbwtR Documentation

histogram_to_rgbwt

Description

Colorize given histogram with input palette.

Usage

histogram_to_rgbwt(
  fhistogram,
  RGBA = array(c(250, 128, 114, 255, 144, 238, 144, 255, 176, 224, 230, 255), c(4, 3))
)

Arguments

fhistogram

Matrix or array R datatype interpreted as histogram.

RGBA

Integer matrix (4xn dim, n>= 2) with R, G, B and alpha channels in integers, defaults to shades of red, green and blue with alpha = 255.

Value

Float RGBWT matrix.


Teri934/scattermore2 documentation built on April 9, 2022, 12:44 a.m.