{"id":19769689,"url":"https://github.com/hsbadr/additive","last_synced_at":"2025-07-01T12:03:06.098Z","repository":{"id":37800819,"uuid":"369646227","full_name":"hsbadr/additive","owner":"hsbadr","description":"Bindings for Additive TidyModels","archived":false,"fork":false,"pushed_at":"2025-06-30T12:12:29.000Z","size":8855,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-30T13:27:33.946Z","etag":null,"topics":["additive","bam","gam","generalized-additive-models","mgcv","r","tidymodels"],"latest_commit_sha":null,"homepage":"https://hsbadr.github.io/additive/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hsbadr.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-05-21T20:23:42.000Z","updated_at":"2025-06-30T12:11:54.000Z","dependencies_parsed_at":"2023-02-12T23:01:32.324Z","dependency_job_id":"f9d0b7c1-e68f-4d9e-a35c-b554d3b9255a","html_url":"https://github.com/hsbadr/additive","commit_stats":{"total_commits":258,"total_committers":2,"mean_commits":129.0,"dds":0.003875968992248069,"last_synced_commit":"53dd875a7808b4ac1205db0f4b4be796457fb665"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/hsbadr/additive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsbadr%2Fadditive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsbadr%2Fadditive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsbadr%2Fadditive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsbadr%2Fadditive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hsbadr","download_url":"https://codeload.github.com/hsbadr/additive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsbadr%2Fadditive/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262959556,"owners_count":23391055,"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":["additive","bam","gam","generalized-additive-models","mgcv","r","tidymodels"],"created_at":"2024-11-12T04:44:34.221Z","updated_at":"2025-07-01T12:03:05.985Z","avatar_url":"https://github.com/hsbadr.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# Bindings for Additive TidyModels [\u003cimg src=\"man/figures/additive.png\" align=\"right\" width=\"160\" alt=\"additive logo\" /\u003e](https://hsbadr.github.io/additive/)\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: Stable](https://img.shields.io/badge/Lifecycle-Stable-green.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n[![Codecov Test Coverage](https://codecov.io/gh/hsbadr/additive/branch/main/graph/badge.svg)](https://app.codecov.io/gh/hsbadr/additive?branch=main)\n[![Last commit](https://img.shields.io/github/last-commit/hsbadr/additive)](https://github.com/hsbadr/additive/commits/main)\n[![Commits since release](https://img.shields.io/github/commits-since/hsbadr/additive/latest.svg?color=green)](https://github.com/hsbadr/additive/commit/main)\n[![R](https://github.com/hsbadr/additive/workflows/R/badge.svg)](https://github.com/hsbadr/additive/actions)\n\n[![CRAN Status](https://www.r-pkg.org/badges/version/additive)](https://CRAN.R-project.org/package=additive)\n[![CRAN Downloads](https://cranlogs.r-pkg.org/badges/grand-total/additive)](https://cran.r-project.org/package=additive)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/hsbadr/additive/blob/main/LICENSE.md)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4784245.svg)](https://zenodo.org/records/4784245)\n\u003c!-- badges: end --\u003e\n\n[**`additive`**](https://hsbadr.github.io/additive/) supports Generalized Additive Models (GAM) using [`mgcv`](https://cran.r-project.org/package=mgcv)\nwith [`parsnip`](https://parsnip.tidymodels.org/)/[`tidymodels`](https://www.tidymodels.org/).\n\n## Installation\n\nThe stable version of [`additive`](https://hsbadr.github.io/additive/) can be installed from [CRAN](https://CRAN.R-project.org/package=additive) using:\n\n``` r\ninstall.packages(\"additive\")\n```\n\nThe development version of [`additive`](https://hsbadr.github.io/additive/) can be installed from [GitHub](https://github.com/hsbadr/additive) using:\n\n``` r\ninstall.packages(\"pak\")\npak::pkg_install(\"hsbadr/additive\")\n```\n\n## Example\n\n\n``` r\nlibrary(additive)\n\nset.seed(2020)\ndat \u003c- gamSim(1, n = 400, dist = \"normal\", scale = 2)\n\nadditive_mod \u003c-\n  additive() |\u003e\n  set_engine(\"mgcv\") |\u003e\n  fit(\n    y ~ s(x0) + s(x1) + s(x2) + s(x3),\n    data = dat\n  )\n\nsummary(additive_mod$fit)\n```\n\nFor more details, [get started with `additive`](https://hsbadr.github.io/additive/articles/GetStarted.html).\n\n## Citation\n\nTo cite `additive` in publications, please use:\n\n```r\ncitation(\"additive\")\n```\n\n\u003e Hamada S. Badr (2024): additive: Bindings for Additive TidyModels,\n\u003e [*Comprehensive R Archive Network (CRAN)*](https://cran.r-project.org/package=additive).\n\u003e URL: [https://hsbadr.github.io/additive/](https://hsbadr.github.io/additive/).\n\n## Contributing\n\nThis project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n\n- For questions and discussions about tidymodels packages, modeling, and machine learning, please [post on RStudio Community](https://forum.posit.co/).\n\n- If you think you have encountered a bug, please [submit an issue](https://github.com/hsbadr/additive/issues).\n\n- Either way, learn how to create and share a [reprex](https://reprex.tidyverse.org) (a minimal, reproducible example), to clearly communicate about your code.\n\n- Check out further details on [contributing guidelines for tidymodels packages](https://www.tidymodels.org/contribute/) and [how to get help](https://www.tidymodels.org/help/).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsbadr%2Fadditive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhsbadr%2Fadditive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsbadr%2Fadditive/lists"}