Description Usage Arguments Value Examples
Returns a regular grid of indices in which to evaluate the stable tail dependence function.
1 | selectGrid(cst, d, nonzero = 2, locations = NULL, maxDistance = 10^6)
|
cst |
A vector containing the values used to construct the grid. Must contain 0. |
d |
An integer, representing the dimension. |
nonzero |
An vector containing integers between 2 and d, representing the number of non-zero elements in every row of the grid. Defaults to 2. |
locations |
A |
maxDistance |
If |
A matrix with q
rows and d
columns, where every row represents a vector in which we will evaluate the stable tail dependence function (for the weighted least squares estimator) or where every row indicates which pairs of variables to use (for the M-estimator)
1 2 3 | selectGrid(cst = c(0,0.5,1), d = 3, nonzero = c(2,3))
locations <- cbind(rep(1:3, each = 3), rep(1:3,3))
selectGrid(c(0,1), d = 9, locations = locations, maxDistance = 1.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.