powered by
Add unique ids to rows. Note: re-arranges rows in many cases.
replyr_add_ids(df, idColName)
data.frame object to work with
name of column to add
# NOT RUN { replyr_add_ids(data.frame(x=c('a','b')), 'id') # }
Run the code above in your browser using DataLab