Learn R Programming

RGENERATEPREC (version 1.3.2)

Tools to Generate Daily-Precipitation Time Series

Description

The method 'generate()' is extended for spatial multi-site stochastic generation of daily precipitation. It generates precipitation occurrence in several sites using logit regression (Generalized Linear Models) and the approach by D.S. Wilks (1998) .

Copy Link

Version

Install

install.packages('RGENERATEPREC')

Monthly Downloads

319

Version

1.3.2

License

GPL (>= 2)

Maintainer

Emanuele Cordano

Last Published

July 30th, 2025

Functions in RGENERATEPREC (1.3.2)

omega_root

This is the target function whose zero is searched to crete the inverse function of omega.
omega_inv

This function is the inverse of omega function
generate.PrecipitationAmountModel

Stochastic Generation of a PrecipitationOccurrenceModel or PrecipitationOccurrenceMultiSiteModel model object
PrecipitationAmountModel

Creates a Precipitation Amount Model
PrecipitationOccurrenceModel

Precipitation Occurrence Model
PrecipitationOccurrenceMultiSiteModel

Precipitation Occurrence Multi-Site Model
CCGammaToBlockmatrix

This function returns a blockmatrix object containing the gaussian cross-correlation matrices.
nwetdays

It calculates the number of wet days for each month and each year
CCGamma

This function extends continuity_ratio and adds the corresponding gaussian correlation matrix for no-precipitation occurrence.
dw.spell

It calculates dry/wet spell duration.
omega

This function finds the bivariate joint probability or the binary correlation from the corresponding Gaussian correlation x
predict.PrecipitationOccurrenceModel

Prediction of a PrecipitationOccurrenceModel model object