[R] creating vectors from data-frames

2012-01-08 Thread Philip Robinson
I am having a problem with creating a vector from a rows or columns, I searched around and found as.vector(x), but it does not seem to do what it says it does I have included an example below, of doing what would seem to be the method required to create a vector, but instead it creates a

Re: [R] creating vectors from data-frames

2012-01-08 Thread David Winsemius
On Jan 8, 2012, at 3:12 PM, Philip Robinson wrote: I am having a problem with creating a vector from a rows or columns, I searched around and found as.vector(x), but it does not seem to do what it says it does I have included an example below, of doing what would seem to be the method