Fast C++ computation of the final posterior probabilities in the E-M Winkler's method
Source:R/RcppExports.R
matchingScore_C.RdmatchingScore_C_sparse_big implements a version using sparse matrices. It has a better
management of memory but is a little bit slower (indicated for big matrices)
Arguments
- agreemat
binary sparse matrix of dimensions
N x Kcontaining the agreement rows for each pair of potential matches.- m
vector of length
Kcontaining the agreement weights.- u
vector of length
Kcontaining the disagreement weights.- nA
integer indicating the number of observations to be matched.
- nB
integer indicating the number of observations to be matched with.
- mat_A
a
nB x Kmatrix of the observations to be matched.- mat_B
a
nA x Kmatrix of the database into which a match is looked for.