Currently we use a very simple way to running the simulations, via a call to replicate(). However I don't think this is the right approach because it is very rigid. A better way to do it is to call algorithms and metrics via a do.call() set-up. This means we'll have to ditch the replicate() call and move to using a for loop. However it appears that a preallocated for loop is just as fast, see: http://stackoverflow.com/questions/13412312/replicate-verses-a-for-loop
The advantage of this is that it allows us to easily add new functionality as well as other users could add whatever functionality they want.
Currently we use a very simple way to running the simulations, via a call to
replicate()
. However I don't think this is the right approach because it is very rigid. A better way to do it is to call algorithms and metrics via ado.call()
set-up. This means we'll have to ditch thereplicate()
call and move to using a for loop. However it appears that a preallocated for loop is just as fast, see: http://stackoverflow.com/questions/13412312/replicate-verses-a-for-loopThe advantage of this is that it allows us to easily add new functionality as well as other users could add whatever functionality they want.