Learn R Programming

climextRemes (version 0.3.1)

Tools for Analyzing Climate Extremes

Description

Functions for fitting GEV and POT (via point process fitting) models for extremes in climate data, providing return values, return probabilities, and return periods for stationary and nonstationary models. Also provides differences in return values and differences in log return probabilities for contrasts of covariate values. Functions for estimating risk ratios for event attribution analyses, including uncertainty. Under the hood, many of the functions use functions from 'extRemes', including for fitting the statistical models. Details are given in Paciorek, Stone, and Wehner (2018) .

Copy Link

Version

Install

install.packages('climextRemes')

Monthly Downloads

326

Version

0.3.1

License

BSD_3_clause + file LICENSE

Last Published

December 21st, 2023

Functions in climextRemes (0.3.1)

normalize

Normalize a vector
remove_runs

Remove consecutive exceedances from a vector
fit_pot

Fit a peaks-over-threshold model to exceedances over a threshold
screen_within_block

Remove multiple exceedances within non-overlapping blocks of fixed length
calc_logReturnPeriod_fevd

Calculates log return period and standard error given return value(s) of interest
calc_returnValueDiff_fevd

Calculates return value difference for two sets of covariates and standard error of difference given return period(s) of interest
calc_logReturnProb_fevd

Calculates log return probability and standard error given return value(s) of interest
climextRemes-package

climextRemes: Tools for Analyzing Climate Extremes
calc_riskRatio_gev

Compute risk ratio and uncertainty based on generalized extreme value model fit to block maxima or minima
calc_returnValue_fevd

Calculates return value and standard error given return period(s) of interest
calc_logReturnProbDiff_fevd

Calculates log return probability difference for two sets of covariates and standard error of difference given return value(s) of interest
fit_gev

Fit a generalized extreme value model to block maxima or minima
calc_riskRatio_binom

Compute risk ratio and uncertainty based on binomial models for counts of events relative to possible number of events
calc_riskRatio_pot

Compute risk ratio and uncertainty based on peaks-over-threshold models fit to exceedances over a threshold