I was given a function that runs analyses on datasets so I'll try my best to explain my problem.
Say I have a function: functionx()
This function will run an analysis on a data matrix: matrixd. However, I need to run functionx() 50 times on matrixd, but I need to save the results from each time I run the function to a different variable, say results1, results2,..., results50.
How would I write a script that would accomplish this?