remap_with_pal: Remap a matrix with the given palette

Description Usage Arguments

View source: R/viridis.R

Description

Remap a matrix with the given palette

Usage

1
remap_with_pal(mat, pal)

Arguments

mat

numeric matrix

pal

RGB palette. 256x3 numeric values in the range [0, 1]


coolbutuseless/mininetpbm documentation built on May 23, 2019, 5:02 a.m.