On Fri, May 1, 2009 at 12:22 PM, MUHC-Research
wrote:
>
> Dear R-users,
>
> I would have another question about the ggplot() function in the ggplot2
> package.
>
> All the examples I've read so far in the documentation make use of a single
> neatly formatted data.frame. However, sometimes, one may
Dear R-users,
I would have another question about the ggplot() function in the ggplot2
package.
All the examples I've read so far in the documentation make use of a single
neatly formatted data.frame. However, sometimes, one may be interested in
plotting on the same grid information or objects d
minben schreef:
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?
__
R-help@r-project.org mailing
You can do like this:
1.
mydata[mydata$skill==1,]
2.
mydata[mydata[,"skill"]==1,]
/Forin
On Thu, 26 Mar 2009 23:40:32 -0700 (PDT)
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 obser
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
Here's an example:
mydata<-data.frame(skill=c(1,2,3,4),x=c(1,1,1,1))
mydata[mydata$skill==1,]
On Fri, Mar 27, 2009 at 16:40, 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 "sk
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?
__
R-help@r-project.org mailing list
https://stat
7 matches
Mail list logo