cpt: [!] Centered planar transform

View source: R/cpt.R

cptR Documentation

[!] Centered planar transform

Description

A data transformation according to the centered planar transformation is done. Default method is function cpt from package compositions.

Usage

cpt(x, ...)

## Default S3 method:
cpt(x, ...)

## S3 method for class 'hyperSpec'
cpt(x, ...)

Arguments

x

A numeric data frame or matrix.

...

further parameters to cpt.

Value

Returns the transformed data matrix with the same dimension as x.

See Also

cpt

Other row-wise transformations: alr(), apt(), clr(), ilr(), ipt()

Examples

cpt(Spectra2)

plot(Spectra2)
plot(cpt(Spectra2))

GegznaV/spHelper documentation built on April 16, 2023, 1:42 p.m.