Learn R Programming

GWEX (version 1.1.3)

fit.margin.cdf: fit.margin.cdf

Description

estimate parameters which control the marginal distribution of precipitation amounts

Usage

fit.margin.cdf(P.mat, isPeriod, th, type = c("EGPD", "mixExp"))

Value

matrix

matrix of estimates p x 3

Arguments

P.mat

precipitation matrix

isPeriod

vector of logical n x 1 indicating the days concerned by a 3-month period

th

threshold above which we consider that a day is wet (e.g. 0.2 mm)

type

distribution: 'EGPD' or 'mixExp'

Author

Guillaume Evin