Creating Python Algorithms to Mimic R Functions from the R Stats Package
DOI:
https://doi.org/10.55632/pwvas.v91i1.605Keywords:
R, PythonAbstract
While R and Python are the most used languages within Data Analytics, the differences between them are becoming less polarized as it is now possible to complete the same tasks using both. A Python library developed from analyzing original R source code would help users cross-reference between both platforms. To design the Python algorithms, pseudocode was produced from registering the source code of different R stats functions. A Python test case was generated that would input result textfiles from both scripts and strive to output 0 differences to check for compatibility. So far, several R functions were able to be mimicked and there is still continued work being done to expand the scripts. We hope to later integrate the R and Python scripts into a web application to better display the results.
Downloads
Published
How to Cite
Issue
Section
License
Proceedings of the West Virginia Academy of Science applies the Creative Commons Attribution-NonCommercial (CC BY-NC) license to works we publish. By virtue of their appearance in this open access journal, articles are free to use, with proper attribution, in educational and other non-commercial settings.