Learn R Programming

precintcon (version 2.1)

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:
    • datasetis the precipitation serie name.
    • mean.dailyis the daily average precipitation. It exists only for daily datasets.
    • sd.dailyis the standard deviation of a daily precipitation serie. It exists only for daily datasets.
    • var.dailyis the variance of a daily precipitation serie. It exists only for daily datasets.
    • mean.monthlyis the monthly average precipitation.
    • sd.monthlyis the standard deviation of a monthly precipitation serie.
    • var.monthlyis the variance of a monthly precipitation serie.
    • totalis 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