Learn R Programming

PANICr (version 1.0.0)

glsd: General Least Squares Detrending

Description

This function detrends the data by general least squares.

Usage

glsd(y,p)

Arguments

y
A matrix containing the data to be detrended
p
An integer with value of either 0 or 1 which decides the value of the penalty term, chat. This is either either -7 or -13.5, respectively

Value

yt A matrix of the detrended data