sen_slope: Sen's slope

View source: R/trends.R

sen_slopeR Documentation

Sen's slope

Description

#' Performs the Sen's slope trend test. This function is a wrapper around sens.slope. See documentation there for more details about the calculation

Usage

sen_slope(x, conf_level = 0.95)

Arguments

x

numeric vector or a time series object of class "ts"

conf_level

confidence level of the test

Value

a tidy data frame with the test results

Examples

x <- runif(100) * 1:100
sen_slope(x)

StatisticsNZ/er.helpers documentation built on Oct. 2, 2023, 7:24 a.m.