Collapse strings of repeated NAs in a vector with numeric names

collapse_na(x)

Arguments

x

vector with names having numeric positional values