Skip to content
Prev 310620 / 398503 Next

Using "apply" instead of "for" loop / multithreading

Since you did not provide sample data (use dput instead of posting
links to 'jpg' files), you can probably do it without loops:

k=resp[,5]
CO2umol <- resp[,6]*((Press*infoch[k,11]*1e-6)/(R*(resp[,7]+273.15)))
CO2v <- CO2umol/(infoch[k,10])
CO2s <- CO2umol/(infoch[k,9]
On Mon, Nov 12, 2012 at 12:39 PM, Charles D. <charlybegood at live.fr> wrote: