Learn R Programming

climtrends (version 1.0.6)

Statistical Methods for Climate Sciences

Description

Absolute homogeneity tests SNHT absolute 1-breaks, 1-break, SD different from 1, 2-breaks, Buishand, Pettitt, von Neumann ratio and ratio-rank, Worsley, and Craddock, Relative homogeneity tests SNHT absolute 1-breaks, 1-break SD different from 1, 2-breaks, Peterson and Easterling, and Vincent, Differences in scale between two groups Siegel–Tukey, Create reference time series mean, weights/correlation, finding outliers Grubbs, ESD, MAD, Tietjen Moore, Hampel, etc.

Copy Link

Version

Install

install.packages('climtrends')

Monthly Downloads

35

Version

1.0.6

License

GPL (>= 3)

Maintainer

Last Published

May 26th, 2016

Functions in climtrends (1.0.6)

annual.precipitation.totals.Madison

Annual precipitation totals in inches Madison (Wisconsin)
AllReadUSGS2timeseries

Read multiple USGS files
CraddockTest

Craddock test
AdjHomogenization

Homogenization adjustment within a certain window
AllfilesIEObyPathPattern

Read multiple IEO files
BSXFUN

Apply a function to each element of 2 arrays with singleton expansion enabled
localwindow

Internal RAHRS functions
CompleteMissingValuesDailyMean

complete missing values on a time series of daily values (mean)
BuishandRangeTest

Buishand range absolute homogeneity test
Buishand.Critical.Values

Critical values for the Buishand test
CreateReferenceSeriesFromFilesMeanCorrelations

Create a reference series (averaging weights/correlations)
DailyClimatologyFromDailyData

Daily climatology
CumulativeDeviations

cumulative deviations test (parametric test for step jump in mean)
CreateReferenceSeriesFromFilesMean

Create a reference series (averaging)
Cumulative.Deviations.Test.Critical.Values

Critical values for Worsley's likelihood ratio test
ReadUSGS2timeseries

Read a a USGS discharge file
FillYearlyGapsWithSomeValue

fill missing days with some value
FillDailyGapsWithSomeValue

fill missing days with some value
ESDstatistic

ESD statistic
DistributionFreeCUSUM

Distribution Free CUSUM (non-parametric test for step jump in mean)
FindOutliersGrubbsTwosided

Find outliers based on the Grubbs test
FindOutliersHampel

Find outliers based on quantiles
FindOutliersTrimmedMeans

Find outliers based on trimmed means
FindCommonPeriod

Find the common period between several time series
FindOutliersZscore

Find outliers based on the z-score
IsLeapYear

Determine if a year is a leap year
LastDayOfTheMonth

Get the last day of a month
FindOutliersESDtest

Find outliers based on the ESD test
FindOutliersMAD

Find outliers based on the absolute deviation around the median
FindOutliersQuant

Find outliers based on quantiles
LevelSignifMarks

Use symbols to represent the level of significance
ListContinuousDays

List the days with continuous data
MedianCrossingTest

Median Crossing (non-parametric test for randomness)
MonthlyAnomaliesFromDailyData

Monthly anomalies
MonthTrendYearsFuncFromDay

Monthly values converted from daily values
ListHomogTZ

Useful info from an homogenization test
ListHomogStats

List with the years of a probable shift and other info
ReadCRDEC

Read GHCN-D files
peaksP

Use symbols to represent the level of significance
ReadECAdata

Read data from a ECA data file
SNHT.Critical.Values

Critical values for the Pettitt test
SNHT.TwoDifferentSDs.Critical.Values

Critical values for the standard normal homogeneity test (SNHT) for two different SDs
RankSumTest

Rank Sum test
Rank.Von.Neumann.Ratio.Test.Critical.Values

Critical values for the Rank Von-Neumann Ratio Test
TietjenMoore

Tietjen Moore statistic
ReadNdp040stationDat

Read data from a CDIAC data file
ReadMeteoSwiss

Read MeteoSwiss files
TrimmedMean

trimmed mean
WetDayCount

Get number of wet days
Von.Neumann.Ratio.Test.Critical.Values

Critical values for the Von Neumann ratio test
SNHT.TwoShifts.Critical.Values

Critical values for the standard normal homogeneity test (SNHT) for two shifts
SNHTabsolute

standard normal homogeneity test (SNHT) absolute homogeneity test
ValuesBetween2years

Get values between two years
Worsley.Likelihood.Ratio.Test.Critical.Values

Critical values for Worsley's likelihood ratio test
VDTR

annual mean of the absolute day-to-day differences of DTR (VDTR)
ReadPSMSLmonthly

Read PSMSL files
YearFuncFromDay

Annual values converted from daily values
ReadUSHCN

Read USHCN files
SNHTabsolute2SDs

standard normal homogeneity test (SNHT) absolute homogeneity test for two different SDs
SNHTabsoluteDoubleShift

standard normal homogeneity test (SNHT) absolute homogeneity test for two shifts
SNHTrelativeTrend

standard normal homogeneity test (SNHT) relative homogeneity test for trends
Sqplot

Number of elements for a plot to be nearly square
WorsleyLikelihoodRatio

Worsley's Likelihood Ratio test
woOp

x without y
GetNDP

Read data from a Numeric Data Package (NDP) file from GCMD
MonthlyClimatologyFromDailyData

Monthly climatology
GetShiftValue

Get peak value and its sign
MonthlyFuncFromDay

Monthly values converted from daily values
PlotSeriesDifference

Plot the difference between 2 series
RankDifferenceTest

Rank Difference test (non-parametric test for randomness)
SNHTrelative

standard normal homogeneity test (SNHT) relative homogeneity test
SNHTrelative2SDs

standard normal homogeneity test (SNHT) relative homogeneity test for two different SDs
VonNeumannRatio

Pettitt test
PettittTest

Pettitt test
Pettitt.Critical.Values

Critical values for the Pettitt test
ReadClimexpKnmiNL

Read KNMI Climate Explorer files
ReadYearAnd12MonthsData

Read a TAB delimited data file with year and months in columns
ReadClimexpKnmiNL12month

Read monthly values KNMI Climate Explorer files
SiegelTukey

annual mean of the absolute day-to-day differences of DTR (SiegelTukey)
SNHTabsoluteII

standard normal homogeneity test (SNHT) absolute homogeneity test, SD different from 1
SNHTabsoluteTrend

standard normal homogeneity test (SNHT) absolute homogeneity test for trends
TurningPointsTest

Turning Points (non-parametric test for randomness)
VonNeumannRatioRank

Von Neumann ratio rank test
FindOutliersSD

Find outliers based on quantiles
yearly.average.temperature.Turin.Milan

Yearly average temperature in Turin, Milan
ValuesBetween2Dates

Get values between two dates
FirstMonthOfSeason

Get the first/last month of a season
FindOutliersTietjenMooreTest

Find outliers based on the Tietjen Moore test
GetInfoHomogenization

Useful info from an homogenization test
PlotHomog

Plot the graphics for many homogenization methods
PlotSeriesAndRefSimple

Plot a series and one or more reference series
ReadEtmgegFile

Read USHCN files
ReadGHCNymd

Read GHCN-Daily files
ReadHERTTAdailyCSV

Read HERTTA files
SNHTrelativeDoubleShift

standard normal homogeneity test (SNHT) relative homogeneity test for two shifts
ReadHERTTAdmyQdaily

Read HERTTA month+year+Q files
SNHTrelativeII

standard normal homogeneity test (SNHT) relative homogeneity test, SD different from 1