handle_loess_fordf: Caculate LOESS value from a dataframe.

Description Usage Arguments Details See Also

Description

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

Usage

1

Arguments

df

The dataFrame contains series to be loess.

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 every row in the input dataframe.

See Also

loess


ahorawzy/TFTSA documentation built on May 13, 2019, 12:18 p.m.