{"id":22852947,"url":"https://github.com/dipterix/spfda","last_synced_at":"2025-03-31T07:12:41.467Z","repository":{"id":56931142,"uuid":"142316307","full_name":"dipterix/spfda","owner":"dipterix","description":"Functional Group Bridge for Simultaneous Regression and Support Estimation (https://arxiv.org/abs/2006.10163)","archived":false,"fork":false,"pushed_at":"2022-03-21T15:00:49.000Z","size":1993,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-07T00:28:53.426Z","etag":null,"topics":["function-on-scalar-regression","regularization-methods","sparse"],"latest_commit_sha":null,"homepage":"","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/dipterix.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":null,"security":null,"support":null}},"created_at":"2018-07-25T15:05:08.000Z","updated_at":"2021-11-10T19:46:31.000Z","dependencies_parsed_at":"2022-08-21T05:50:26.167Z","dependency_job_id":null,"html_url":"https://github.com/dipterix/spfda","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipterix%2Fspfda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipterix%2Fspfda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipterix%2Fspfda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipterix%2Fspfda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dipterix","download_url":"https://codeload.github.com/dipterix/spfda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429493,"owners_count":20775808,"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":["function-on-scalar-regression","regularization-methods","sparse"],"created_at":"2024-12-13T06:10:02.682Z","updated_at":"2025-03-31T07:12:41.435Z","avatar_url":"https://github.com/dipterix.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# R Package \"spfda\" - Sparse function-on-scalar regression\n\n\u003c!-- badges: start --\u003e\n[![CRAN-version](https://www.r-pkg.org/badges/version/spfda)](https://CRAN.R-project.org/package=spfda)\n[![license-MIT](https://img.shields.io/badge/licence-MIT-blue.svg)](https://github.com/dipterix/spfda/blob/master/LICENSE)\n[![R-check](https://github.com/dipterix/spfda/workflows/R-CMD-check/badge.svg)](https://github.com/dipterix/spfda/actions)\n\u003c!-- [![Cran-version](http://cranlogs.r-pkg.org/badges/grand-total/spfda)](https://CRAN.R-project.org/package=spfda) --\u003e\n\u003c!-- badges: end --\u003e\n\n\u003e This package implements paper \"Functional Group Bridge for Simultaneous Regression and Support Estimation\" \n\n[[PDF](https://arxiv.org/abs/2006.10163)] [[Github](https://github.com/dipterix/spfda)] [[CRAN](https://cran.r-project.org/package=spfda)] [[Examples](https://doi.org/10.5281/zenodo.6363319)]\n\n![Demo example](https://raw.githubusercontent.com/dipterix/spfda/master/inst/cover.png)\n\n## Installation\n\nYou can install the **released** version of `spfda` ![CRAN-version](https://www.r-pkg.org/badges/version/spfda) from [CRAN](https://CRAN.R-project.org/package=spfda) with:\n\n``` r\ninstall.packages(\"spfda\")\n```\n\nThe **experimental** version can be installed via\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"dipterix/spfda\")\n```\n\n## Example\n\n``` r\nlibrary(spfda)\ndat \u003c- spfda_simulate()\nx \u003c- dat$X\ny \u003c- dat$Y\n\n## basic example code\n\nfit \u003c- spfda(y, x, lambda = 5, CI = TRUE)\n\n## Generics\n\nBIC(fit)\nplot(fit, col = c(\"orange\", \"dodgerblue3\", \"darkgreen\"),\n     main = \"Fitted with 95% CI\", aty = c(0, 0.5, 1), atx = c(0,0.2,0.8,1))\nmatpoints(fit$time, t(dat$env$beta), type = 'l', col = 'black', lty = 2)\nlegend('topleft', c(\"Fitted\", \"Underlying\"), lty = c(1,2), bty = 'n')\nprint(fit)\ncoefficients(fit)\n```\n\n## Citation\n\nUse `citation('spfda')` to generate citation information, or check [this link](https://arxiv.org/abs/2006.10163).\n\n```\nWang, Z, Magnotti, JF, Beauchamp, MS. Li, M, Functional Group Bridge for\n  Simultaneous Regression and Support Estimation.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdipterix%2Fspfda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdipterix%2Fspfda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdipterix%2Fspfda/lists"}