clere

Simultaneous Variables Clustering and Regression

https://github.com/mcanouil/clere

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.0%) to scientific vocabulary

Keywords

r r-package r-stats regression-models variables-clustering
Last synced: 5 months ago · JSON representation

Repository

Simultaneous Variables Clustering and Regression

Basic Info
  • Host: GitHub
  • Owner: mcanouil
  • License: gpl-3.0
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 9.7 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Archived
Topics
r r-package r-stats regression-models variables-clustering
Created about 6 years ago · Last pushed over 4 years ago
Metadata Files
Readme Contributing License Code of conduct

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# clere: Simultaneous Variables Clustering and Regression


[![GitHub tag](https://img.shields.io/github/tag/mcanouil/clere.svg?label=latest tag&include_prereleases)](https://github.com/mcanouil/clere)
[![Codecov test
coverage](https://codecov.io/gh/mcanouil/clere/branch/main/graph/badge.svg)](https://codecov.io/gh/mcanouil/clere?branch=main)
[![R-CMD-check](https://github.com/mcanouil/clere/workflows/R-CMD-check/badge.svg)](https://github.com/mcanouil/clere/actions)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version-ago/clere)](https://cran.r-project.org/package=clere)
[![cran checks_worst](https://cranchecks.info/badges/worst/clere)](https://cran.r-project.org/web/checks/check_results_clere.html)
[![CRAN_Download_total](https://cranlogs.r-pkg.org/badges/clere)](https://cran.r-project.org/package=clere)


Implements an empirical Bayes approach for simultaneous variable clustering and regression. 
This version also (re)implements in C++ an R script proposed by Howard Bondell that fits the Pairwise Absolute Clustering and Sparsity (PACS) methodology (see Sharma et al (2013) doi: [10.1080/15533174.2012.707849](https://doi.org/10.1080/15533174.2012.707849)).


## Installation

You can install the released version of clere from [CRAN](https://CRAN.R-project.org) with:

```{r, eval = FALSE}
install.packages("clere")
```

And the development version from [GitHub](https://github.com/) with:

```{r, eval = FALSE}
# install.packages("remotes")
remotes::install_github("mcanouil/clere")
```


## Citing clere

```{r, echo = FALSE, results = "asis"}
print(citation("clere"), "html")
```

```{r, echo = FALSE, comment = ""}
print(citation("clere"), "bibtex")
```


## Example

```{r example}
library(clere)

x <- matrix(rnorm(50 * 100), nrow = 50, ncol = 100)
y <- rnorm(50)

model <- fitClere(y = y, x = x, g = 2, plotit = FALSE)
model

plot(model)

clus <- clusters(model, threshold = NULL)
clus

predict(model, newx = x + 1)

summary(model)
```


## Getting help

If you encounter a clear bug, please file a minimal reproducible example on [github](https://github.com/mcanouil/clere/issues).  
For questions and other discussion, please contact the package maintainer.

---

Please note that this project is released with a [Contributor Code of Conduct](https://github.com/mcanouil/clere/blob/main/.github/CODE_OF_CONDUCT.md).  
By participating in this project you agree to abide by its terms.

Owner

  • Name: Mickaël Canouil
  • Login: mcanouil
  • Kind: user
  • Location: Lille, France

Biostatistician, Ph. D. (& cinephile) @RLille User Group Organiser

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 71
  • Total Committers: 1
  • Avg Commits per committer: 71.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Mickaël Canouil 8****l@u****m 71

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 6
cran.r-project.org: clere

Simultaneous Variables Clustering and Regression

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 0
Rankings
Dependent repos count: 25.5%
Forks count: 28.8%
Dependent packages count: 29.8%
Stargazers count: 31.7%
Average: 41.1%
Downloads: 89.7%
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 4.0.0 depends
  • Rcpp >= 1.0.0 imports
  • graphics * imports
  • methods * imports
  • parallel * imports
  • utils * imports
  • covr >= 3.4.0 suggests
  • knitr >= 1.26 suggests
  • lasso2 >= 1.2 suggests