I am trying to merge the five related data.frames
in R
by using merge()
from the package data.table
.
When I merge the data.frames
, the data becomes huge with multiple repeat ids (the rows are still distinct).
But if I want to report the outcome for only the unique ids.
- Should I delete the rows with repeated ids? But that will delete the data.
- How to deal such thing?