Re: [R] Difference beetwen element in the same column

2009-06-17 Thread David Winsemius
On Jun 17, 2009, at 5:49 PM, Carletto Rossi wrote: my goal is to compute this variable tauw = 0.00095* velocity:0 (of the second row: 0.00367781) / (0.0003035 - 0) I'm sorry, you have exceeded your daily quota of homework help. Read some introductory material and come back after you know

Re: [R] Difference beetwen element in the same column

2009-06-17 Thread David Winsemius
tdf <- read.table(textConnection("pressure , k , eps , zeta , f , velocity0 , velocity1 , velocity2 , vtkValidPointMask , PointCoordinates0 , PointCoordinates1 , PointCoordinates2\n 0.150545 , 0.000575811 , 0.0231277, 0.000339049, -0.0193008, 0.00318629, -6.24066e-07, 5.39599e-05, A, 7, 0, 0,

Re: [R] Difference beetwen element in the same column

2009-06-17 Thread Carletto Rossi
my goal is to compute this variable tauw = 0.00095* velocity:0 (of the second row: 0.00367781) / (0.0003035 - 0) and tauw1 = 0.00095* velocity:0 (of the third row : 0.232017) / (0.0003035 - 0) and put tauw e tauw1 in a new variable 2009/6/17 Carletto Rossi > Hi, i have this file > > press