Description Usage Arguments Details Value Author(s) See Also Examples
Helps to define a grid for kernel denity or regression estimates (univariate or multivariate).
1 | create.grid(grid.list, sort=TRUE)
|
grid.list |
list of 1-dimensional vectors containing the grid values for each dimension |
sort |
sort the vectors (can be set to FALSE if vectors are already sorted in ascending order) |
This function allows easily to define grids for the "gplm" package. If the data are d-dimensional and the grid vector lengths are n1, ... nd, then the output is a (n1*...*nd) x d matrix with each row corresponding to one d-dimensional data point at which the function estimate is to be calculated.
m x d grid matrix
Marlene Mueller
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.