Skip to content
Prev 131811 / 398503 Next

R computing speed

I would suggest that you use Rprof to get a profile of the code to see
where time is being spent.  You did not provide commented, minimal,
self-contained, reproducible code, so it is hard to tell from just
looking at the code to determine what is happening.  Rprof should
provide an idea of where to look in your code for optimization.  You
might consider colMeans instead of the "apply", but I am not sure if
this will make a significant change in the execution time.
On Dec 11, 2007 6:55 AM, Carlo Fezzi <C.fezzi at uea.ac.uk> wrote: