Learn R Programming

SWMPrExtension (version 0.3.12)

sk_tidy: Tidy Seasonal Kendall Results

Description

Tidy results from kendallSeasonalTrendTest

Usage

sk_tidy(data, station, param, stat, alpha = 0.05)

Arguments

data

a htest object produced by kendallSeasonalTrendTest

station

chr string sampling station

param

chr string of variable to plot

stat

chr, label to be used for statistic used to group data

alpha

num, significance level. Defaults to 0.05

Value

Returns a data.frame of results from kendallSeasonalTrendTest

Details

A helper function used by sk_seasonal to return a table of tidied values.