Description Usage Arguments Value
View source: R/predict_problink_em.R
Calculate weights and probabilities for pairs
1 2 3 4 5 6 7 8 9 10 |
object |
an object of type |
pairs |
a object with pairs for which to calculate weights. |
newdata |
an alternative name for the |
type |
a character vector of length one specifying what to calculate. See results for more information. |
binary |
convert comparison vectors to binary vectors using the comparison function in comparators. |
comparators |
a list of comparison functions (see |
... |
unused. |
In case of type == "weights"
returns a vector (lvec
or
regular R-vector depending on the type of pairs
). with the linkage weights.
In case of type == "mpost"
returns a vector with the posterior m-probabilities
(probability that a pair is a match). In case of type == "probs"
returns a
data.frame or ldat
with the m- and u-probabilities and posterior
m- and u probabilities. In case type == "all"
returns a data.frame
or
ldat
with both probabilities and weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.