Stacking two vectors into one column of data.frame with additional ID column

前端 未结 0 1501
伪装坚强ぢ
伪装坚强ぢ 2020-11-30 20:57

I have data in multiple vectors that I would like to convert to a data.frame with one ID column (vector name) and one data column (vector values). Here\'s a toy example:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题