R: Score Columns of a Matrix Containing NAs by its Values
Score
R Documentation
Score Columns of a Matrix Containing NAs by its Values
Description
Helper function for Predict used to
score the columns of a matrix according to their values.
The scoring of a given column is done by pair-wise comparisons with all other columns.
The comparison of columns is done by pair-wise comparisons of the non-missing values.
This procedure is robust to missing values, if all columns of the matrix
have a similar (potentially shifted) distribution of values.
Usage
Score(mat)
Arguments
mat
Numeric matrix. May contain NA values.
Value
Numeric vector of length ncol(mat).
Note
Interfaces a C++ function. The R package Rcpp is used.
F. Gerber, R. Furrer, G. Schaepman-Strub, R. de Jong, M. E. Schaepman, 2016,
Predicting missing values in spatio-temporal satellite data.
http://arxiv.org/abs/1605.01038.