{'fraction_non_alphanumeric': 0.026200873362445413, 'fraction_numerical': 0.0, 'mean_word_length': 5.644927536231884, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
An R package for simulation education

R is free software for statistical computing, providing a variety of statistical and graphical functionality. For use in simulation education, R's capabilities help to develop student intuition. In this paper, we introduce the simEd package for R, written with a pedagogical focus. The package includes functions for generating discrete and continuous variates via inversion, with capabilities for independent streams and antithetic variates; for visualizing inversion in variate generation and the relationship to the pdf/pmf, cdf, and ecdf; for computing time-persistent statistics; for extensible single- and multiple-server queueing simulation; and includes data sets for input modeling and analysis. As we demonstrate using several illustrations, this package, along with native R functionality, provides a compelling case for using R in an introductory simulation course.