Closed wleoncio closed 3 years ago
@Hugo-v587, I did not understand this last part of your report, could you please clarify?
I first tried to write a function to extract the core values (mean, sigma, data names, etc.) from the outputs, so that I could do multiple testings and compare the results at the same time. I first assumed the outputs were in the forms of vectors/data frames, like other packages, and then I could save the outputs in the environment. Then I realized that the outputs could only be shown in the console, so this function would not work.
This is an unfinished function, however, I still included it since I thought it could be a good start for the "mass testing." The vision for this function would enable researchers to run multiple sets of data generation at the same time (e.g., mean = c(10,15,20), sigma = c(50,60,80), it would generate three surveys, and then I could compare the estimated means/sigmas in vectors).
Please let me know if you have additional questions.
Got it! I'll close the issue, then, but it's nice to have the code here, as it might come in handy when implementing unit tests.
0. Setup
I've tested most values below. Not all testings are shown in this report. I only included the testings that are showing errors/warnings or inconsistent results.
11. Unfinished function due to no extraction for outputs