{"id":29195715,"url":"https://github.com/clugen/clugenr","last_synced_at":"2025-07-02T05:05:36.955Z","repository":{"id":65531360,"uuid":"289556949","full_name":"clugen/clugenr","owner":"clugen","description":"Multidimensional cluster generation in R","archived":false,"fork":false,"pushed_at":"2024-08-05T17:51:56.000Z","size":39481,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T03:05:31.098Z","etag":null,"topics":["multidimensional-clusters","multidimensional-data","r","r-package","synthetic-clusters","synthetic-data-generator","synthetic-dataset-generation"],"latest_commit_sha":null,"homepage":"https://clugen.github.io/clugenr/","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/clugen.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-08-22T19:52:42.000Z","updated_at":"2025-06-02T11:53:57.000Z","dependencies_parsed_at":"2024-01-02T21:27:19.188Z","dependency_job_id":"3378eabc-09f5-46bb-9116-7f670a750100","html_url":"https://github.com/clugen/clugenr","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/clugen/clugenr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clugen%2Fclugenr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clugen%2Fclugenr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clugen%2Fclugenr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clugen%2Fclugenr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clugen","download_url":"https://codeload.github.com/clugen/clugenr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clugen%2Fclugenr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263077632,"owners_count":23410167,"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":["multidimensional-clusters","multidimensional-data","r","r-package","synthetic-clusters","synthetic-data-generator","synthetic-dataset-generation"],"created_at":"2025-07-02T05:05:36.001Z","updated_at":"2025-07-02T05:05:36.938Z","avatar_url":"https://github.com/clugen.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Checks](https://github.com/clugen/clugenr/actions/workflows/check.yml/badge.svg)](https://github.com/clugen/clugenr/actions/workflows/check.yml)\n[![codecov](https://codecov.io/gh/clugen/clugenr/branch/main/graph/badge.svg?token=3MWG03OYS5)](https://app.codecov.io/gh/clugen/clugenr)\n[![docs](https://img.shields.io/badge/docs-latest-blue.svg)](https://clugen.github.io/clugenr/)\n[![CRAN\\_Status\\_Badge](https://www.r-pkg.org/badges/version/clugenr)](https://CRAN.R-project.org/package=clugenr)\n![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/clugenr)\n[![MIT](https://img.shields.io/badge/license-MIT-yellowgreen.svg)](https://www.tldrlegal.com/license/mit-license)\n\n# clugenr \u003cimg src=\"man/figures/logo.png\" align=\"right\" /\u003e\n\n## Summary\n\n**clugenr** is an [R] implementation of the *clugen* algorithm for generating\nmultidimensional clusters with arbitrary distributions. Each cluster is\nsupported by a line segment, the position, orientation and length of which guide\nwhere the respective points are placed.\n\n## How to install\n\nA stable version of the package is available on [CRAN] and can be installed with\nthe following instruction:\n\n```R\ninstall.packages(\"clugenr\")\n```\n\nAlternatively, install the development version from GitHub with the following\ncommand (requires the [devtools] package):\n\n```R\ndevtools::install_github(\"clugen/clugenr\")\n```\n\n## Documentation\n\nAll methods and functions are fully documented and can be queried using the\nbuilt-in help system. After installation, to access the man pages, invoke the\n`clugenr` help page as follows:\n\n```R\nhelp(\"clugenr\")\n```\n\nThe complete online documentation is available [here](https://clugen.github.io/clugenr/).\n\n## Quick start\n\n```R\nlibrary(clugenr)\nx \u003c- clugen(2, 5, 1000, c(1, -0.5), 0.5, c(4, 6), 6, 0.2, 0.5)\nplot(x$points, col = x$clusters, xlab = \"x\", ylab = \"y\", asp = 1)\n```\n\n![](man/figures/example2d.png)\n\n```R\nlibrary(clugenr)\nlibrary(rgl) # For 3D plots\nx \u003c- clugen(3, 5, 2000, c(1, 0.5, -0.7), 0.5, c(15, 10, 20), 15, 3, 10)\nplot3d(x$points, col = x$clusters, xlab = \"x\", ylab = \"y\", zlab = \"z\", aspect = T)\n```\n\n![](man/figures/example3d.png)\n\n## See also\n\n* [pyclugen](https://github.com/clugen/pyclugen/), a Python implementation of\n  the *clugen* algorithm.\n* [CluGen.jl](https://github.com/clugen/CluGen.jl/), an Julia implementation of\n  the *clugen* algorithm.\n* [MOCluGen](https://github.com/clugen/MOCluGen/), a MATLAB/Octave implementation\n  of the *clugen* algorithm.\n\n## Reference\n\nIf you use this software, please cite the following reference:\n\n* Fachada, N. \u0026 de Andrade, D. (2023). Generating multidimensional clusters\n  with support lines. *Knowledge-Based Systems*, 277, 110836.\n  \u003chttps://doi.org/10.1016/j.knosys.2023.110836\u003e\n  ([arXiv preprint](https://doi.org/10.48550/arXiv.2301.10327))\n\n## License\n\n[MIT License](LICENSE)\n\n[R]: https://www.r-project.org/\n[devtools]: https://cran.r-project.org/package=devtools\n[CRAN]: https://cran.r-project.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclugen%2Fclugenr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclugen%2Fclugenr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclugen%2Fclugenr/lists"}