handle_loess: Caculate LOESS value from a dataframe.

Description Usage Arguments Details See Also

View source: R/handle_loess.R

Description

This function caculates LOESS (locally weighted regression) by given a dataframe.

Usage

1
handle_loess(df, exp, resp, sp)

Arguments

df

The dataFrame contains series to be loess.

exp

The sequence column number of explaining variable.

resp

The sequence column number of response variable.

sp

Span parameter of loess() function.

Details

LOESS (locally weighted regression) is a technique which can smooth a series. It needs a explaining variable as exp, a response variable as resp, a parameter span. By using loess() function in stats package, this function can caculate LOESS value for a series from a dataframe.

See Also

loess


ahorawzy/TFTSA documentation built on Sept. 3, 2018, 1:05 p.m.