cem icon indicating copy to clipboard operation
cem copied to clipboard

CEM in R to identify matches (1:5)

Open Afrah2021 opened this issue 3 years ago • 0 comments

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]

Afrah2021 avatar Apr 28 '21 17:04 Afrah2021