Displaying 1 result from an estimated 1 matches for "aveparam1r".
Did you mean:
aveparam1d
2010 Aug 30
2
while loop until end of file
...10
2 D 10
2 D 10
2 R 10
2 R 10
etc..
and for each pair, calculate the average of param1 for group D entries,
subtract from the average of param1 for the group R entries, and then write
the results (ie, AveParam1D AveParam1R dif) in a tab delimited file. Below
is the start of my code. the difficulty i am having is in creating a while
loop that stops once there are no more lines to read from the input file.
also not sure of the best way to write in the results, though I think I
should use rbind.
data <- data.frame(...