rSimulations function

rSimulations