sampleD
sampleD(S, LLA, LLB, LLL, gamma, loglik, nlinkrec, sumRowD, sumColD)
List:
new set of links
new sumRowD
new sumColD
new value of the complete log likelihood
new number fo linked records
IntegerMatrix where each row correspond to the indices (from source A and source B) of records for which the true values matches (representing the potential links)
NumericVector gives the likelihood contribution of each non linked record from A
NumericVector gives the likelihood contribution of each non linked record from B
NumericVector gives the likelihood contribution of each potential linked records (from select)
NumericVector repeats the value of the parameter gamma (proportion of linked records) number of potential linked records (nrow of S) times
double for the value of the current complete log likelihood of the model
integer for the current number of linked records
A LogicalVector vector indicating, for each row of the linkage matrix, i.e. for each record in the smallest file A, whether the record has a link in B or not.
A LogicalVector vector indicating, for each column of the linkage matrix, i.e. for each record in the largest file B, whether the record has a link in A or not.