cem
cem copied to clipboard
CEM in R to identify matches (1:5)
Hello, I am using the CEM in Rstudio to identify matches for controls (1 case: 5 control). The CEM packet has been helpful; however, I need details on how to execute and identify the 1:5 match. Below are some of the code I used, but it seems that I'm missing a code or interpretations.
mat$matched which(mat$matched) print(mat) psample <- pair(mat, data=D) table(psample$paired) table(psample$full.paired) psample$paired[1:100] psample$full.paired[1:10]