Simple wrapper around lapply and parallel::clusterApplyLB to abstract away
the logic of deciding which one to use
Arguments
- cl
 Cluster created by
parallel::makeCluster()orNULL- fun
 Function to be run
- x
 object to be looped over
- ...
 extra arguements passed to
fun
