From equation to image: mathematical simulation and visualization in RStudio
DOI:
https://doi.org/10.64325/IJIP.v1i1.9Keywords:
scientific computing, mathematical models, RStudio, computational simulation, scientific visualizationAbstract
This article reflects on the role of computational simulation and mathematical visualization as central tools for exploring advanced models whose complexity, in many cases, exceeds traditional analytical treatment. It argues that, when implemented in R and developed within the RStudio environment, equations cease to operate solely as symbolic expressions and are transformed into dynamic systems amenable to computational experimentation. Through the generation of graphs, surfaces, networks, and three-dimensional representations, simulation allows for the interpretation of abstract structures, the identification of patterns, the analysis of stability, and the recognition of emergent behaviors. Within this framework, it is emphasized that visualization does not replace mathematical rigor but rather complements it by connecting theoretical formalization and perception, thus facilitating the appropriation of scientific knowledge.
Downloads
References
Card, S. K., Mackinlay, J. D., & Shneiderman, B. (Eds.). (1999). Readings in information visualization: Using vision to think. Morgan Kaufmann.
Cleveland, W. S., & McGill, R. (1984). Graphical perception: Theory, experimentation, and application to the development of graphical methods. Journal of the American Statistical Association, 79(387), 531–554. DOI: https://doi.org/10.1080/01621459.1984.10478080
Downey, A. B. (2023). Modeling and simulation in Python: An introduction for scientists and engineers (2nd ed.). No Starch Press.
Eddelbuettel, D., & Balamuta, J. J. (2021). Extending R with C++: A brief introduction to Rcpp. Chapman and Hall/CRC.
Gentleman, R., & Lang, D. T. (2007). Statistical analyses and reproducible research. Journal of Computational and Graphical Statistics, 16(1), 1–23. https://www.tandfonline.com/doi/abs/10.1198/106186007X178663 DOI: https://doi.org/10.1198/106186007X178663
Hutchins, E. (1995). Cognition in the wild. MIT Press. DOI: https://doi.org/10.7551/mitpress/1881.001.0001
Irizarry, R. A. (2022). Introduction to data science: Data analysis and prediction algorithms with R (2nd ed.). CRC Press.
Knuth, D. E. (1984). Literate programming. The Computer Journal, 27(2), 97–111. DOI: https://doi.org/10.1093/comjnl/27.2.97
Langtangen, H. P., & Linge, S. (2020). Programming for computations: A gentle introduction to numerical simulations. Springer.
Latour, B. (1986). Visualization and cognition: Drawing things together. In H. Kuklick (Ed.), Knowledge and society: Studies in the sociology of culture past and present (Vol. 6, pp. 1–40). JAI Press.
LeVeque, R. J. (2007). Finite difference methods for ordinary and partial differential equations: Steady-state and time-dependent problems. Society for Industrial and Applied Mathematics (SIAM). DOI: https://doi.org/10.1137/1.9780898717839
Matloff, N. (2021). Statistical regression and classification: From linear models to machine learning. CRC Press.
Munzner, T. (2014). Visualization analysis and design. CRC Press. DOI: https://doi.org/10.1201/b17511
Navarro, D., Foxcroft, D., & Faulkenberry, T. J. (2021). Learning statistics with R: A tutorial for psychology students and other beginners (2nd ed.). SAGE Publications.
Norman, D. A. (1993). Things that make us smart: Defending human attributes in the age of the machine. Addison-Wesley.
Peng, R. D. (2011). Reproducible research in computational science. Science, 334(6060), 1226–1227. DOI: https://doi.org/10.1126/science.1213847
Peng, R. D. (2020). R programming for data science. Leanpub.
Press, W. H. (Ed.). (2007). Numerical recipes: The art of scientific computing (3rd ed.). Cambridge University Press.
Tufte, E. R. (2001). The visual display of quantitative information (2nd ed.). Graphics Press.
Ware, C. (2020). Information visualization: Perception for design (4th ed.). Elsevier.
Wickham, H., & Grolemund, G. (2023). R for data science: Import, tidy, transform, visualize, and model data (2nd ed.). O’Reilly Media.
Wilke, C. O. (2020). Fundamentals of data visualization: A primer on making informative and compelling figures. O’Reilly Media.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Jesús Francisco Carpio Mendoza (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish in this journal agree to the following terms:
a) Authors retain copyright and grant the journal the right of first publication, with the work licensed under a Creative Commons Attribution 4.0 license, which allows third parties to use the published work provided they attribute the authorship of the work and acknowledge its first publication in this journal.
b) Authors may enter into other independent and additional contractual agreements for the non-exclusive distribution of the version of the article published in this journal (e.g., including it in an institutional repository or publishing it in a book) provided they clearly indicate that the work was first published in this journal.
c) Authors are permitted and encouraged to share their work online (e.g., in institutional repositories or on personal websites) before and during the manuscript submission process, as this can lead to productive exchanges and greater and faster citation of the published work.