{"id":23116306,"url":"https://github.com/nabilshadman/r-data-analysis","last_synced_at":"2025-04-04T01:25:34.599Z","repository":{"id":176914069,"uuid":"377703747","full_name":"nabilshadman/r-data-analysis","owner":"nabilshadman","description":"A modular R framework for data analysis, with emphasis on data processing and reproducible workflows.","archived":false,"fork":false,"pushed_at":"2024-12-04T18:11:22.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T13:13:00.720Z","etag":null,"topics":["data-analysis","data-cleaning","data-manipulation","data-science","descriptive-statistics","programming","r","r-studio","statistical-analysis","statistical-computing","t-test"],"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/nabilshadman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-17T04:24:15.000Z","updated_at":"2024-12-23T14:24:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf636a87-534f-4da9-a984-f0218ddbe3ef","html_url":"https://github.com/nabilshadman/r-data-analysis","commit_stats":null,"previous_names":["nabilshadman/r-programming-samples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabilshadman%2Fr-data-analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabilshadman%2Fr-data-analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabilshadman%2Fr-data-analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabilshadman%2Fr-data-analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nabilshadman","download_url":"https://codeload.github.com/nabilshadman/r-data-analysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247105196,"owners_count":20884383,"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":["data-analysis","data-cleaning","data-manipulation","data-science","descriptive-statistics","programming","r","r-studio","statistical-analysis","statistical-computing","t-test"],"created_at":"2024-12-17T04:15:58.198Z","updated_at":"2025-04-04T01:25:34.583Z","avatar_url":"https://github.com/nabilshadman.png","language":"R","readme":"# R Data Analysis Framework\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n![R](https://img.shields.io/badge/R-Data_Analysis-blue)\n[![Experimental](https://img.shields.io/badge/Status-Experimental-orange.svg)](https://shields.io/)\n\n\nA modular R framework for data analysis, data manipulation, and visualization. This library provides functions for handling data, with emphasis on reproducibility and clean code practices.\n\n## Overview\n\nThis framework implements data analysis workflows focusing on:\n- Geometric calculations and transformations\n- Descriptive statistics and data summarization  \n- Statistical hypothesis testing\n- Data preprocessing and cleaning\n- Correlation analysis\n\n## Installation\n\n```r\n# Clone repository\ngit clone https://github.com/username/r-statistical-analysis.git\n\n# Install required R packages\ninstall.packages(c(\"stats\", \"utils\", \"base\"))\n```\n\n## Project Structure\n\n```\n.\n├── assignment1/\n│   ├── assignment1.R      # Core statistical functions\n│   └── chol.txt           # Sample cholesterol dataset\n├── assignment2/\n│   ├── assignment2.R      # Data preprocessing utilities  \n│   └── Assignment2.RData  # Multi-dataset RData file\n└── README.md\n```\n\n## Core Features\n\n### Geometric Analysis Module\n- Circle and sphere calculations (area, volume, circumference)\n- Multi-dimensional geometric transformations\n- Configurable precision and rounding\n\n### Statistical Analysis Tools\n- Descriptive statistics generation\n- Two-sample t-test automation\n- Missing value handling\n- Outlier detection and processing\n\n### Data Processing Utilities\n- Data normalization\n- Correlation analysis for metrics\n- Categorical data imputation\n- Flexible data frame operations\n\n## Usage Examples\n\n### Basic Circle Calculations\n```r\n# Calculate circle area\ncalCircle('ac', 4)\n\n# Multiple calculations\ncalCircle2(c('AC', 'VS'), seq(5,25,5))\n```\n\n### Statistical Analysis\n```r\n# Generate descriptive statistics\ntable1(patient_num, c(\"GLUC\", \"TGL\", \"HDL\", \"LDL\"))\n\n# Perform t-tests\nmyTtest(dat=chol, classVar=\"sex\", numVar=c(\"age\", \"chol\", \"tg\"))\n```\n\n### Data Preprocessing\n```r\n# Handle missing values\nimpute(dat=patient, varlist=c(\"LDL\", \"HRT\", \"MAMM\"))\n\n# Calculate correlations\nmyCorTest(chol, \"bmi\", c(\"sbp\", \"dbp\", \"vldl\", \"hdl\", \"ldl\"))\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/enhancement`)\n3. Commit changes (`git commit -am 'Add enhancement'`)\n4. Push to branch (`git push origin feature/enhancement`)\n5. Create Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see [LICENSE](LICENSE) for details.\n\n## Citation\n\nIf you use this framework in your research, please cite:\n```bibtex\n@software{r_data_analysis,\n  author = {Shadman, Nabil},\n  title = {R Data Analysis Framework},\n  year = {2020},\n  url = {https://github.com/nabilshadman/r-data-analysis}\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnabilshadman%2Fr-data-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnabilshadman%2Fr-data-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnabilshadman%2Fr-data-analysis/lists"}