Description Usage Arguments Details Value Author(s) References Examples
View source: R/spatial_quantile_29c.R
This provides an objective function whose minimization yields the spatial quantiles.
1 | evaluator(n, p)
|
n |
The number of rows in the data |
p |
The number of columns in the data |
Returns another function suitable for passing to an optimizer like nlm
or trust
.
A function that should be passed to an optimizer.
Mohit Dayal
P. Chaudhuri. "On a geometric notion of quantiles for multivariate data." Journal of the American Statistical Association, 91(434):862-872, 1996.
1 2 3 4 5 6 7 8 9 |
Loading required package: trust
$value
[1] 301.5399
$gradient
[1] -8.647249e-12 -1.531967e-12
$hessian
[,1] [,2]
[1,] 176.571684 -5.100188
[2,] -5.100188 148.483856
$argument
[1] 0.05795514 0.07271672
$converged
[1] TRUE
$iterations
[1] 6
$value
[1] 272.1432
$gradient
[1] -4.121148e-13 -1.421085e-13
$hessian
[,1] [,2]
[1,] 170.99491 -1.82928
[2,] -1.82928 137.38850
$argument
[1] 0.3421160 0.5412897
$converged
[1] TRUE
$iterations
[1] 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.