Last data update: 2014.03.03

R: The data set for illustratrating the functions of the SPIGA...
SPIDatasetR Documentation

The data set for illustratrating the functions of the SPIGA package

Description

The set used, data are monthly rainfall (1981-2015) and the dimensionless parameters to calculate the SPI drought.

Usage

data(Pm_Pisco)
data(alphaGA_SPI3)
data(betaGA_SPI3)

Format

Pm_Pisco dataframe with:

YEAR

monthly precipitation totals, in mm.

MONTH

monthly precipitation totals, in mm.

P1

monthly precipitation totals st-1, in mm.

P2

monthly precipitation totals st-2, in mm.

...

monthly precipitation totals st-n, in mm.

alphaGA_SPI3 dataset: monthly alpha parameter.

mon

month analysis

st-1

monthly alpha parameter station 1

st-2

monthly alpha parameter station 2

st-n

monthly alpha parameter station n

betaGA_SPI3 dataset: monthly beta parameter.

mon

month analysis

st-1

monthly beta parameter station 1

st-2

monthly beta parameter station 2

st-n

monthly beta parameter station n

Author(s)

Iv<c3><83><c2><a1>n Arturo Ayala Bizarro <ivan.ayala@unh.edu.pe>

Jessica Z<c3><83><c2><ba><c3><83><c2><b1>iga Mendoza <zumeje@gmail.com>

Source

The Pm_Pisco data were obtained from the Peruvian Interpolation data of the SENAMHI's Climatological and Hidrological Observations, SENAMHI-PERU. http://peruclima.pe/.

References

McKee, Thomas B. and Doesken, Nolan J. and Kleist, John. 1993. The relationship of Drought Frequency and Duration to Time Scales. Eighth Conference on Applied Climatology

A. Belauneh and J. Adamowski. Standard Precipitation Index Drought Forecasting Using Neural Networks, Wavelet Neural Networks, and Support Vector Regression. Applied Computational Intelligence and Soft Computing, http://dx.doi.org/10.1155/2012/794061

Examples

data(Pm_Pisco)
names(Pm_Pisco)
summary(Pm_Pisco)

data(alphaGA_SPI3)
names(alphaGA_SPI3)
summary(alphaGA_SPI3)

data(betaGA_SPI3)
names(betaGA_SPI3)
summary(betaGA_SPI3)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(SPIGA)
Loading required package: GA
Loading required package: foreach
Loading required package: iterators
Package 'GA' version 3.0.2
Type 'citation("GA")' for citing this R package in publications.
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/SPIGA/SPIdataset.Rd_%03d_medium.png", width=480, height=480)
> ### Name: SPIDataset
> ### Title: The data set for illustratrating the functions of the SPIGA
> ###   package
> ### Aliases: Pm_Pisco alphaGA_SPI3 betaGA_SPI3
> 
> ### ** Examples
> 
> data(Pm_Pisco)
> names(Pm_Pisco)
[1] "year"   "month"  "Pm_St1" "Pm_St2" "Pm_St3" "Pm_St4"
> summary(Pm_Pisco)
      year          month            Pm_St1             Pm_St2        
 Min.   :1981   Min.   : 1.000   Min.   :  0.5866   Min.   :  0.5362  
 1st Qu.:1989   1st Qu.: 3.250   1st Qu.: 16.5649   1st Qu.: 14.0321  
 Median :1998   Median : 6.000   Median : 46.8745   Median : 47.4559  
 Mean   :1998   Mean   : 6.476   Mean   : 62.0483   Mean   : 59.3716  
 3rd Qu.:2007   3rd Qu.: 9.000   3rd Qu.: 98.8216   3rd Qu.: 96.8824  
 Max.   :2015   Max.   :12.000   Max.   :236.0222   Max.   :239.9725  
     Pm_St3             Pm_St4        
 Min.   :  0.4474   Min.   :  0.5104  
 1st Qu.: 13.4251   1st Qu.: 18.5945  
 Median : 43.8687   Median : 48.0113  
 Mean   : 57.3330   Mean   : 65.4650  
 3rd Qu.: 90.9596   3rd Qu.:100.2296  
 Max.   :236.6156   Max.   :244.5666  
> 
> data(alphaGA_SPI3)
> names(alphaGA_SPI3)
[1] "Month"  "Pm_St1" "Pm_St2" "Pm_St3" "Pm_St4"
> summary(alphaGA_SPI3)
     Month       Pm_St1           Pm_St2           Pm_St3      
 ABR    :1   Min.   : 2.858   Min.   : 2.627   Min.   : 2.798  
 AGO    :1   1st Qu.: 4.781   1st Qu.: 3.763   1st Qu.: 3.948  
 DIC    :1   Median : 6.867   Median : 5.620   Median : 6.802  
 ENE    :1   Mean   : 9.260   Mean   : 8.140   Mean   : 8.297  
 FEB    :1   3rd Qu.:10.898   3rd Qu.:10.858   3rd Qu.:10.790  
 JUL    :1   Max.   :26.091   Max.   :17.445   Max.   :21.109  
 (Other):6                                                     
     Pm_St4      
 Min.   : 2.631  
 1st Qu.: 4.583  
 Median : 6.666  
 Mean   : 8.472  
 3rd Qu.: 9.805  
 Max.   :23.536  
                 
> 
> data(betaGA_SPI3)
> names(betaGA_SPI3)
[1] "Month"  "Pm_St1" "Pm_St2" "Pm_St3" "Pm_St4"
> summary(betaGA_SPI3)
     Month       Pm_St1          Pm_St2          Pm_St3           Pm_St4     
 ABR    :1   Min.   :10.85   Min.   : 8.33   Min.   : 6.916   Min.   :14.80  
 AGO    :1   1st Qu.:14.54   1st Qu.:18.01   1st Qu.:13.001   1st Qu.:16.92  
 DIC    :1   Median :19.43   Median :21.46   Median :21.927   Median :20.22  
 ENE    :1   Mean   :20.77   Mean   :22.35   Mean   :19.699   Mean   :24.45  
 FEB    :1   3rd Qu.:24.49   3rd Qu.:26.57   3rd Qu.:24.522   3rd Qu.:29.96  
 JUL    :1   Max.   :38.90   Max.   :37.15   Max.   :31.138   Max.   :49.30  
 (Other):6                                                                   
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>