Skip to content
Back to formatted view

Raw Message

Message-ID: <F572EBA1-F837-4F21-AB8B-CA333C9BBA08@comcast.net>
Date: 2013-12-14T17:37:20Z
From: David Winsemius
Subject: converting a coloumn in a data set to a vector
In-Reply-To: <1387031667.79756.YahooMailNeo@web141102.mail.bf1.yahoo.com>

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