How to convert vectors in 1 row table in R

In R, I have a 1 - row table How do I convert it to a vector?

Specifically, the table is as follows:

0  1  2  3  4 
21 35 46 62 36

I tried parentheses, but it didn't help!

Solution

Or you can use as vector(x)

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>