Learn R Programming

SpatPCA (version 1.3.5)

detrend: Internal function: Detrend Y by column-wise centering

Description

Internal function: Detrend Y by column-wise centering

Usage

detrend(Y, is_Y_detrended)

Value

Detrended data matrix

Arguments

Y

Data matrix