getGwexFitPrec {GWEX}R Documentation

getGwexFitPrec

Description

get object GwexFit derived from the parameters replicated for each month

Usage

getGwexFitPrec(
  listOption = NULL,
  p,
  condProbaWDstates,
  parMargin,
  vec.ar1 = NULL,
  M0 = NULL,
  mat.omega = NULL
)

Arguments

listOption

list of options (see fitGwexModel)

p

number of stations

condProbaWDstates

vector of length nLag^2 of transition probabilities corresponding to the nlag possible transitions between dry/wet states expand.grid(lapply(numeric(nLag), function(x) c(F,T)))

parMargin

parameters of the margins: vector of length 3

vec.ar1

vector of observed autocorrelations for all stations

M0

M0: covariance matrix of gaussianized prec. amounts for all pairs of stations

mat.omega

mat.omega: The spatial correlation matrix of occurrences \Omega

Value

Return an object of class GwexFit with:

Examples

exFitGwexPrec = getGwexFitPrec(p=2,condProbaWDstates=c(0.7,0.3,0.2,0.1),
parMargin=c(0.5,0.1,0.4),vec.ar1=rep(0.7,2),M0=rbind(c(1,0.6),c(0.6,1)),
mat.omega=rbind(c(1,0.8),c(0.8,1)))

[Package GWEX version 1.1.3 Index]