app: Amount and Percentage of Precipitation

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
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:

Author(s)

Lucas Venezian Povoa lucasvenez@gmail.com

See Also

read.data as.daily ci

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##
# 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))

Example output

Loading required package: ggplot2
Loading required package: scales
  dataset percentage absolute relative
1   daily         25  46345.1        1
  dataset percentage absolute relative
1   daily         20  46345.1        1
  dataset percentage absolute  relative
1   daily         10  38619.8 0.8333092
2   daily         15  44316.8 0.9562349
3   daily         20  46345.1 1.0000000
4   daily         25  46345.1 1.0000000

precintcon documentation built on May 2, 2019, 3:07 p.m.