clean_WLS: Filters data using a weighted least-squares linear regression...

Description Usage Arguments Value

View source: R/clean_WLS.R

Description

Filters data using a weighted least-squares linear regression model and a moving window (aims to minimize squared error).

Usage

1
clean_WLS(orig_df)

Arguments

orig_df

A data frame created from the Beck's dataset.

ID_list

A list of all unique IDs within the Beck's dataset.

Value

A data frame of Beck's data w/o divergent data points.


AgronomicForecastingLab/RS_PlantingDate documentation built on Feb. 13, 2022, 3:06 a.m.