trendAnalysis: Calculate the sens.slope and MannKendall values for any time...

View source: R/sumstats.R

trendAnalysisR Documentation

Calculate the sens.slope and MannKendall values for any time series

Description

Calculate the sens.slope and MannKendall values for any time series

Usage

trendAnalysis(x)

Arguments

x

a list of type spec_tbl_df/tbl_df/tbl/data.frame that has one column with consecutive times of class 'numeric'. The time variable can also be a 'Date' class.

Examples

# site_num is a numeric variable containing rbi values over consecutive years (year)
library(easyrbi)
df <- data.frame (year  = seq(from = 2010, to = 2020, by = 1),
site_num = seq(from = 1, to= 2, by = .1))

trendAnalysis(df$site_num)



amutaya/easyrbi documentation built on May 9, 2022, 4:04 p.m.