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


dfsp-spirit/fsbrain documentation built on Nov. 28, 2024, 10:29 a.m.