Rearrange dataframe entries such that there is exactly one row per ID.
Rearrange dataframe entries such that there is exactly one row
per ID. The IDs are taken from the argument
ids and are matched
against the first column of
x. If an ID is missing in
a row with
NA values is inserted. If an ID occurs multiple times
x[,1], rows are collapsed into characters of comma-separated values.
A dataframe whose rows correspond 1:1 to
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.