Compute the additive planar transform of a (dataset of) compositions. Default method is function apt from package compositions.

apt(x, ...)

# S3 method for default
apt(x, ...)

# S3 method for hyperSpec
apt(x, ...)

Arguments

x

A numeric data frame or matrix.

...

further parameters to apt.

Value

Returns the transformed data matrix with the same dimension as

x.

See also

apt

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

Examples

apt(Spectra2)
#> hyperSpec object
#>    150 spectra
#>    3 data columns
#>    500 data points / spectrum

plot(Spectra2)

plot(apt(Spectra2))