get_trend: Determine trend information using Sen's methodology and...

Description Usage Arguments Value

View source: R/get_trend.R

Description

Using a vector of data, The Thiel-Sen method for trend determination will be carried out with a Kendall test for significance.

Usage

1
get_trend(df, dt_col, val_col, start_window = NULL, window_width = NULL)

Arguments

df

a data frame containing at least one column of date-time values, and a column of numeric data for which a trend analysis will be undertaken.

dt_col

the name or column number of date-time values to be used in the analysis.

val_col

the name or column number of numerical values to be used in the analysis.

start_window

an integer representing the start of the windowed data used in the analysis.

window_width

an integer representing the width of the windowed data used in the analysis.

Value

a data frame.


rich-iannone/TrendAnalysis documentation built on May 27, 2019, 7:57 a.m.