predictor.nn.indices | R Documentation |
Calculate spatial index position of nearest neighbors
predictor.nn.indices(vars = NULL, n = NULL, x, y)
vars |
Character vector of the names of the variable(s) to be used as local predictors |
n |
Integer vector. Number of nearest neighbours to be considered for each variables in |
x.grid |
The (multi)grid containing the predictors |
y.grid |
The grid containing the predictand |
A list of matrices (rows = local neighbors, cols = predictand points). The list is of the same length as the number of local predictor variables chosen
J Bedia
Other downscaling.helpers:
predictor.nn.values()
,
prepareData()
,
prepareNewData()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.