How to convert vector from 1-row table in R

r, row, vector

Solution

or you could use `as.vector(x)`

Problem

In R, I have a 1-row table. How do I convert that to a vector? Specifically, the table is this: ``` 0 1 2 3 4 21 35 46 62 36 ``` I've tried bracket notation but to no avail!

Original source