fit.margin.cdf: fit.margin.cdf

View source: R/GWexPrec_lib.r

fit.margin.cdfR Documentation

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"))

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'

Value

matrix

matrix of estimates p x 3

Author(s)

Guillaume Evin


guillaumeevin/GWEX documentation built on Feb. 9, 2024, 3:22 a.m.