ipt: [!] Isometric planar transformation

View source: R/ipt.R

iptR Documentation

[!] Isometric planar transformation

Description

Compute the isometric planar transform of a (dataset of) composition(s). Default method is function ipt from package compositions.

Usage

ipt(x, V = ilrBase(x), ...)

## Default S3 method:
ipt(x, V = ilrBase(x), ...)

## S3 method for class 'hyperSpec'
ipt(x, V = ilrBase(x), ...)

Arguments

x

A composition, not necessarily closed. (A numeric data frame or matrix.)

...

further parameters to ipt.

Value

Returns the transformed data matrix with one dimension less than x. Thus for hyperSpec object the last value of x$.wavelength is removed.

See Also

ipt, ilrBase

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

Examples

ipt(Spectra2)

plot(Spectra2)
plot(ipt(Spectra2))


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