Re: [R] possible reason for merge not working

2011-08-01 Thread world peace
hings.  You should have at least enclosed an 'str' of the two data > frames; even better would be a subset of the data using 'dput'.  Most > likely your problem is that your data is not what you 'expect' it to > be. > > On Mon, Aug 1, 2011 at 12:17 PM, w

[R] possible reason for merge not working

2011-08-01 Thread world peace
Hi Guys, working on a "merge" for 2 data frames. Using the command: x <- merge(annotatedData, UCSCgenes, by.x="names", by.y="Ensembl.Gene.ID", all.x=TRUE) names and Ensembl.Gene.ID are columns with similar elements from the x and y data frames. annotatedData has 8909 entries, so has x(as expec

[R] A very basic line-plot question

2011-02-17 Thread world peace
Hi All I have data like this tom randy mike dan doug height 150 152 155 134 141 I am trying to create a line plot, with names on X-axis and height measure on Y. how can i get it through R. I could get several versions which are close (dotchart, bargraph), but not qui