Description Usage Arguments Value Examples
View source: R/multivariate_estimation.R
Estimate a multivariate density function using the LGDE and kNN bandwidths.
1 2 3 |
data |
The data matrix, one row per observation. |
k.mat |
A matrix of k. Must be in the same format as is produced by the kLocal-function. |
gsize |
If grid is not provided, the density will be estimated at gsize points going diagonally through the data. |
grid |
The grid at which to estimate the density. Must be a matrix with the same number of columns as the data matrix. |
A list with 6 elements: $f.est are the density estimates at the grid points, $d is the dimension, $loc.cor are the local correlations, $k.mat is the matrix of k's that was used, $pairs is a two-column matrix indicating all pairs of variables, $grid is the grid at which the density has been estimated, $test is a vector of k's to test for cross-validation.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.