Learn R Programming

uFTIR (version 0.1.4)

tile_base_corr: Baseline correction

Description

A function to substract the minimun of a pixel (vector) to have a minimal signal = 0, avoiding negative readings. Currently the only preprocessing method implemented.

Usage

tile_base_corr(data)

Arguments

data

Object of class Tile.

Value

An object of class Tile congruent with data, with the spectra modified.

Examples

Run this code
# NOT RUN {
x <- tile_read(base::system.file("extdata/tile.bsp", package = "uFTIR"))
x <- tile_base_corr(x)
# }

Run the code above in your browser using DataLab