As.vector does not convert data.frame subset to vector

后端 未结 1 513
悲&欢浪女
悲&欢浪女 2021-01-14 07:21

Below I have provided a snippet of some code that I have been working on. I have been sucessfully reading in string as tables. There exist some subset of my tables which I

相关标签:
1条回答
  • 2021-01-14 08:03

    Data frames are lists. Even if you select just a single row of a data, it's still a list.

    Try unlist. (Assuming all the values in your "row" are of course numeric. If they aren't, that you have bigger problems.)

    0 讨论(0)
提交回复
热议问题