Skip to content
Prev 257030 / 398506 Next

Monte Carlo Simulation

The filenames can be done within a loop, like this:

for (id in 1:1000) {
  ## the filename
  fname <- paste('sample', formatC(id,width=4,flag='0'),'.tsv',sep='')

   ## more stuff
}


-Don