Re: [R] help - extract data using column names

2012-11-01 Thread alex_123
Thanks a lot!!! -- View this message in context: http://r.789695.n4.nabble.com/help-extract-data-using-column-names-tp4647869p4648125.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz

Re: [R] help - extract data using column names

2012-10-30 Thread Bert Gunter
Please read the Introduction to R tutorial that ships with R to get started with R. Quoting Rolf Turner: " Learn something about R; don't just hammer and hope. Read the introductory manuals and scan the FAQ." Cheers, Bert On Tue, Oct 30, 2012 at 7:09 AM, alex_123 wrote: > hello , I am new use

Re: [R] help - extract data using column names

2012-10-30 Thread Jessica Streicher
A look at the tutorial might help here, but anyway: Say you have that dataframe down there with the name myData (you should use dput() to give us the data btw), then you can subset that by using myData[rows,columns], where left of the comma you define which rows you want, and right of the comma

Re: [R] help - extract data using column names

2012-10-30 Thread jim holtman
Is this what you want: > x <- read.table(text = "Mi RBN RBFnDB > nX + 3 2.6225979 0.53132756 -0.80599902 -1.4471864 -0.5705269 + 10 0.4818746 -1.72143092 -2.19579027 2.0118824 -0.5705269 + 12 2.8519611 1.88298265 0.09614617 0.6282549 -0.5705269

[R] help - extract data using column names

2012-10-30 Thread alex_123
hello , I am new user in R . I have datafile (class = data.frame) which has 825 columns with unique column name i want extract 200 selected column from datafile how can I do this? my datafile look like.. Mi RBN RBFnDB nX 3 2.6225979 0.53132756 -0.80599