Data Mining Algorithms In R/Packages/CCMtools/WGP
Description
editThis function calculates the Weighted Global Probability (WGP) cost function for precipitation occurrence. This error is supposed to be due to a misclassification (i.e., the elements should be classified according to sequence cl.check, while they are in practice allocated to the clusters according to the sequence cl.proj).
Usage
editWGP(cl.check, cl.proj, DataS.check)
Arguments
edit- cl.check Reference sequence (i.e., numerical vector) of clusters.
- cl.proj Sequence of clusters in practice.
- DataS.check Precipitation data time series
Details
editFor details about this cost function, see the reference below. M. Vrac, P. Yiou. "Weather regimes designed for local precipitation modelling: Application to the Mediterranean bassin". Submitted, JGR-A, 2009
Value
editReturns a numerical vector corresponding to the WGP cost function
Author(s)
editM. Vrac (mathieu.vrac@lsce.ipsl.fr))