Re: [R] Choosing a column for analysis in a function

2007-05-31 Thread Junnila, Jouni
I'm sticking with Steve's suggestion. Thanks anyway!! -Jouni -Original Message- From: Adaikalavan Ramasamy [mailto:[EMAIL PROTECTED] Sent: 31. toukokuuta 2007 16:57 To: Junnila, Jouni Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Choosing a column for analysis in a function Per

Re: [R] Choosing a column for analysis in a function

2007-05-31 Thread Adaikalavan Ramasamy
Perhaps the use of as.character() like following might help? data.whole$Analyte.Values <- data.whole$as.character(analyte) Junnila, Jouni wrote: > Hello all, > > I'm having a problem concerning choosing columns from a dataset in a > function. > > I'm writing a function for data input etc., w

[R] Choosing a column for analysis in a function

2007-05-31 Thread Junnila, Jouni
Hello all, I'm having a problem concerning choosing columns from a dataset in a function. I'm writing a function for data input etc., which first reads the data, and then does several data manipulation tasks. The function can be then used, with just giving the path of the .txt file where the dat