{"id":19871094,"url":"https://github.com/thealgorithms/r","last_synced_at":"2025-05-14T17:05:17.604Z","repository":{"id":38375103,"uuid":"150001366","full_name":"TheAlgorithms/R","owner":"TheAlgorithms","description":"Collection of various algorithms implemented in R.","archived":false,"fork":false,"pushed_at":"2025-04-19T13:12:09.000Z","size":1070,"stargazers_count":945,"open_issues_count":9,"forks_count":314,"subscribers_count":67,"default_branch":"master","last_synced_at":"2025-05-14T17:02:33.267Z","etag":null,"topics":["algorithm","algorithms","classification","clustering","data-mining","datamanipulation","education","hacktoberfest","learning","machine-learning","practice","preprocessing","r","r-language","r-programming","regression"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheAlgorithms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":"TheAlgorithms","issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-09-23T16:10:03.000Z","updated_at":"2025-05-09T19:29:16.000Z","dependencies_parsed_at":"2022-07-12T01:47:26.617Z","dependency_job_id":"4cf04322-adc9-4efb-9b61-3a7229855734","html_url":"https://github.com/TheAlgorithms/R","commit_stats":{"total_commits":227,"total_committers":39,"mean_commits":5.82051282051282,"dds":0.7841409691629956,"last_synced_commit":"898a0a1fda67fec17f579bbb7df0ebf5caf301ef"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAlgorithms","download_url":"https://codeload.github.com/TheAlgorithms/R/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254190396,"owners_count":22029632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","algorithms","classification","clustering","data-mining","datamanipulation","education","hacktoberfest","learning","machine-learning","practice","preprocessing","r","r-language","r-programming","regression"],"created_at":"2024-11-12T16:11:14.476Z","updated_at":"2025-05-14T17:05:17.598Z","avatar_url":"https://github.com/TheAlgorithms.png","language":"R","readme":"# The Algorithms - R\n\n\u003ca href=\"https://gitpod.io/#https://github.com/TheAlgorithms/R\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod\u0026style=flat-square\" height=\"20\" alt=\"Gitpod Ready-to-Code\"\u003e\n\u003c/a\u003e\n\n![build](https://img.shields.io/badge/build-passing-brightgreen.svg)\n![license](https://img.shields.io/badge/License-MIT-brightgreen.svg)\n![prs](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)\n\n*R is a programming language and free software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing. The R language is widely used among statisticians and data miners for developing statistical software and data analysis. Polls, data mining surveys and studies of scholarly literature databases show substantial increases in popularity in recent years. As of November 2019, R ranks 16th in the TIOBE index, a measure of popularity of programming languages. ([Wikipedia](https://en.wikipedia.org/wiki/R_(programming_language)))*\n\nAll algorithms can be found in the [`DIRECTORY.md`](https://github.com/TheAlgorithms/R/blob/master/DIRECTORY.md) file ordered by folder.\n  \n## Contribution Guidelines\n\nPlease ensure to follow the points stated below if you would like to contribute:\n### 1. Code Quality \u0026 Functionality\n\n-Ensure that your code is functional and well-structured before submitting a pull request.\n\n-The code should run without errors in an R environment and produce the expected output.\n\n-Follow best practices for efficiency, readability, and maintainability.\n\n### 2. Adding a New Algorithm\n\n-Verify that the algorithm is not already implemented in the repository.\n\n-Include a brief explanation of the algorithm in the file as comments.\n\n-Add an example showcasing its usage (it can be commented within the script).\n\n### 3. Modifying an Existing Algorithm\n\n-If making improvements, clearly document the changes in your pull request description.\n\n-Ensure that your modifications do not break existing functionality.\n\n-If applicable, update or add test cases to validate your changes.\n\n### 4. Code Style \u0026 Naming Conventions\n\n-Use consistent and meaningful variable names. Follow one of these naming conventions:\n\n-Use . or _ to separate words (e.g., results.df for a data frame).\n\n-Ensure that filenames follow the existing directory structure and naming patterns.\n\n### 5. Documentation \u0026 Comments\n\n-Provide clear and concise documentation in the form of comments within the code.\n\n-Add a brief docstring at the beginning of the script explaining:\n\n-What the algorithm does\n\n-The expected input and output\n\n-Any dependencies required\n\n### 6. Testing \u0026 Verification\n\n-Before submitting a pull request, verify that your code:\n\n-Runs correctly with different test cases\n\n-Does not produce unnecessary warnings or errors\n\n-If applicable, add a test file demonstrating the algorithm’s correctness.\n","funding_links":["https://liberapay.com/TheAlgorithms"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthealgorithms%2Fr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthealgorithms%2Fr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthealgorithms%2Fr/lists"}