Learn R Programming

precintcon (version 2.3.0)

app: Amount and Percentage of Precipitation

Description

It calculates the amount and percentage of precipitation contributed by a such percent of rainiest days.

Usage

app(..., percent = 25)

Arguments

percent
is the percentage of the rainiest days to be considered (default = 25).
...
a set of daily precipitation series.

Value

data.frame containing the following variables:
  • dataset is the dataset name of the precipitation serie;
  • percentage is the percentage of the rainiest days;
  • absolute is the absolute amount of precipitation generated by percentage
  • relative is the percentage of precipitation benerated by percentage

See Also

read.data as.daily ci

Examples

Run this code
##
# Loading the daily precipitation serie
data(daily) 

##
# Calculating amount and percentage of precipitation using different parameters

app(daily)

app(daily, percent = 20)

app(daily, percent = c(10, 15, 20, 25))

Run the code above in your browser using DataLab