Skip to content
Back to formatted view

Raw Message

Message-ID: <49CC7E17.3010803@nic.fi>
Date: 2009-03-27T07:19:51Z
From: K. Elo
Subject: A beginner's question
In-Reply-To: <060613a5-e33c-4777-8f7e-0d7706a99d38@q30g2000prq.googlegroups.com>

Hi,

minben wrote:
> I am a new R-language user. I have set up a data frame "mydata",one of
> the colume of which is "skill". Now I want to select the observations
> whose "skill" value is equal to 1,by what command can I get it?

Try this:
mydata1<-mydatasubset(mydata, skill==1)

Maybe You should also read this introduction:
http://cran.r-project.org/doc/manuals/R-intro.pdf


Kind regards,
Kimmo