splitstackshape
splitstackshape copied to clipboard
expandRows should have a drop argument for single column data.frames
See: http://stackoverflow.com/questions/33832085/replicate-entries-in-dataframe-in-r
If expandRows were used on this, it would just return a factor vector.