Closed SusanJiao20 closed 3 years ago
This output is to be expected. The NA values indicate that the individual was not paired. This can easily happen when there is an odd number of ids, or when n_pairs is small. To show only those that are matched, you can pass the output to na.omit()
.
df1 and df2 both contain NA in treatment time, the results returned from brsmatch contain the matched pairs and a row of NA.
Created on 2021-02-09 by the reprex package (v1.0.0)