perform.na.mapping: Perform NA mapping for transparency

View source: R/vis.R

perform.na.mappingR Documentation

Perform NA mapping for transparency

Description

Usually this is done so that the 'NA' values are plotted transparently, so your can see a background color through the respective colors.

Usage

perform.na.mapping(data, map_to_NA)

Arguments

data

numeric vector

map_to_NA

the value or value range that should be mapped to 'NA'. If a single value, only exactly this value is used. If two values, they are interpreted as a range, and a values between them are mapped to 'NA'. If you pass 'NULL', the data are returned as-is.

Value

the mapped data


fsbrain documentation built on July 9, 2023, 7:12 p.m.