Description Usage Arguments Value Examples
Returns an intersite correlation model. The function computes the sample L-moments and estimates the empirical intersite correlation matrix between sites. A power exponential model can be fitted to smooth the intersite correlations in respect with the distance.
1 2 3 4 5 6 7 8 |
x |
Data. If not specify by a formula, the columns must be respectively : value, site and time. |
distance |
Matrix of distances. Must be of the same order as the sites appear in x. |
nmin |
Minimal number of paired observations for computing the empirical correlation, otherwise no correlation is assumed. |
smooth |
Logical. Should the intersite correlation matrix be smoothed by a power exponential model. |
smooth.p |
Exponent of the power exponential model. |
smooth.hmax |
Maximal distance used for fitting the power exponential model. |
nmom |
Number of L-moments to evaluate. |
form |
Formula that describes the response value, sites and time variables.
Must have the form |
lmom |
Matrix of L-moments. |
nrec |
Record lengths. |
distance |
Distance matrix. |
corr |
Intersite correlation matrix. |
para |
Parameters of the power exponential model. |
1 2 3 4 5 6 7 | h <- flowAtlantic$distance
a <- flowAtlantic$ams
Intersite(ams ~ id + year, a)
Intersite(ams ~ id + year, a, distance = h,
smooth = TRUE, smooth.hmax = 500)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.