Kudos to you Jason!! -Sohail --Original Message-- From: s-news-owner@lists.biostat.wustl.edu [mailto:s-news-owner@lists.biostat.wustl.edu]On Behalf Of Overstreet, Jason (FL51) Sent: Wednesday, April
Dear List, Sorry, this is really an elementary question. How would I create a data frame of NA with 65000 rows and 37 columns? Thanks. Sohail Khan Scientific Programmer COLD SPRING HARBOR LABORATORY
Thank you very much John. -Sohail Dear Sohail, One way would be, Data <- as.data.frame(matrix(NA, 65000, 37)) John -- John Fox Department of Sociology McMaster University Hamilton, Ontario Canada L8S
Dear list, I have a data frame as: chr chr.pos abs.pos ratio 1 2500 3600 0.25 1 5600 7500 NA 2 1450 5200 NA 2 5000 7005 NA 2 6480 8754 0.25 2 5425 6542 NA 2 6000 8963 NA 2 6542 9512 0.32 I would like
Dear S-Plus Experts, I have data frame as follows: ID ratio_1 ratio_2 X 2.5 2.0 Y 3.6 2.1 Y 2.9 1.2 Y 3.5 4.2 Z 2.5 1.9 K 0.5 2.1 L 1.4 4.1 I would like average values of columns ratio_1, ratio_2 for
Dear members, Is there a way to change the column name of a data frame from the command line? Thanks in advance Sohail Khan Scientific Programmer COLD SPRING HARBOR LABORATORY Genome Research Center
Dear List, Is there a way to "shuffle" a data frame based on a column. I.E. if the data frame looks like: pos ratio 1 0.2356 2 0.5236 3 1.2356 4 2.5690 I would like to randomly shuffle based on colum
Dear Members, I am a novice S-plus user. This is a trivial question, but I would appreciate your help. I have imported a large file (.txt) in S-Plus, the file is imported as having a blank line after
Hi S-Users, I have an Excel sheet with 10 columns (226,910 cells) containing numeric data. How I create a numeric vector in S-Plus containing this data. Thank you Sohail Khan Scientific Programmer CO