trends: Create a dataframe containing summary statistics from the...

View source: R/sumstats.R

trendsR Documentation

Create a dataframe containing summary statistics from the MannKendall and sens.slope analysis for set of USGS gauge stations over given duration. trends

Description

Create a dataframe containing summary statistics from the MannKendall and sens.slope analysis for set of USGS gauge stations over given duration. trends

Usage

trends(x)

Arguments

x

a data.frame containing the waterYear and RBI values for sites in one column.

Value

returns a list/data.frame with 15 variables calculated using trendAnalysis. The data.frame has 3 columns that are character vectors and 12 that are numeric.

Examples

library(easyrbi)
library(dplyr)

# return summary statistics for all USGS sites given in a dataframe containing annual RBI values
data <- rbi_df(c("01564500", "01567000"), "1970-10-01", "1980-09-30")
trends(x = data)

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