Learn R Programming

precintcon (version 2.3.0)

stat: Basic statistics for precipitation datasets.

Description

Perform the calculation of basic statistics of precipitation datasets.

Usage

stat(...)

Arguments

...
a set of daily or monthly precipitation serie.

Value

A data.frame (precintcon.stat) containing the following variables:
  • dataset is the precipitation serie name.
  • mean.daily is the daily average precipitation. It exists only for daily datasets.
  • sd.daily is the standard deviation of a daily precipitation serie. It exists only for daily datasets.
  • var.daily is the variance of a daily precipitation serie. It exists only for daily datasets.
  • mean.monthly is the monthly average precipitation.
  • sd.monthly is the standard deviation of a monthly precipitation serie.
  • var.monthly is the variance of a monthly precipitation serie.
  • total is the total precipitation.

Examples

Run this code
##
# Loading the monthly precipitation serie.
data(monthly)

##
# Plotting the deciles.
stat(monthly)

Run the code above in your browser using DataLab