Re: [R] select partial name and full name columns

2013-01-09 Thread arun
4 29  13 A.K. ________ From: Irucka Embry To: smartpink...@yahoo.com Cc: r-help@r-project.org Sent: Wednesday, January 9, 2013 11:36 AM Subject: Re: [R] select partial name and full name columns Hi Arun, thank-you for your sugges

Re: [R] select partial name and full name columns

2013-01-09 Thread arun
  2   28    10 #3 2011-06-03 00:35:00    10   22 8 #4 2011-06-03 00:40:00 7   27    11 #5 2011-06-03 00:45:00 4   29    13 A.K. - Original Message - From: Irucka Embry

Re: [R] select partial name and full name columns

2013-01-09 Thread Irucka Embry
gt;Sent: 1/9/2013 11:09:13 AM >To: iruc...@mail2world.com >Cc: r-help@r-project.org >Subject: Re: [R] select partial name and full name columns > > > >Hi, >You can use the same code: >set.seed(15) > dat1<-data.frame(sample(1:10,5,replace=TRUE),sample(20:30,5,replac

Re: [R] select partial name and full name columns

2013-01-09 Thread Irucka Embry
060_3",colnames(dat1))])] Thank-you. Irucka Embry <-Original Message-> >From: arun [smartpink...@yahoo.com] >Sent: 1/9/2013 7:13:05 AM >To: iruc...@mail2world.com >Cc: r-help@r-project.org >Subject: Re: [R] select partial name and full name columns >

[R] select partial name and full name columns

2013-01-09 Thread Irucka Embry
Hi, I have the following function: getDataFromDVFileCustom <- function (file, hasHeader = TRUE, separator = "\t") { DVdatatmp <- as.matrix(read.table(file, sep = "\t", fill = TRUE, comment.char = "#", as.is = TRUE, stringsAsFactors = FALSE, na.strings = "NA")) DVdatatmper <- as.matrix(DVdatatmp[