Description Usage Examples
View source: R/em_winkler.R
Computes a matching score from agreement vectors and weights
1
matching_score(agree, m, u)
1 2 3 4 5
estep_vect <- function(ag_score, p, m, u){ a <-exp(log(p) + ag_score%*%log(m) + (1-ag_score)%*%log(1-m)) b <- exp(log(1-p) + ag_score%*%log(u) + (1-ag_score)%*%log(1-u)) return(cbind(a/(a+b), b/(a+b))) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.