[R] converting a coloumn in a data set to a vector
David Winsemius
dwinsemius at comcast.net
Sat Dec 14 18:37:20 CET 2013
On Dec 14, 2013, at 6:34 AM, Patty Haaem wrote:
> Hi every one,
> I have a simple question. I want to make a vector from one of the colomns in a data set. for example I have this data:
> x1 x2 x3
> 1 5 7
> 4 8 9
> 8 6 12
> 4 8 13
> I want to convert x1 to a vector such as:
> x1= c(1,4,8,4)
> How I can do it?
?Extract
--
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list