user197267
user197267

Reputation: 53

R packages for symbolic regression

I want to carry out a symbolic regression with R. The rgp package is the most recommended package on the internet but it was removed from CRAN.

https://cran.r-project.org/web/packages/rgp/index.html

Does anybody know some other equivalent packages in R?

Upvotes: 4

Views: 2949

Answers (2)

vonjd
vonjd

Reputation: 4380

An alternative package is the gramEvol package (on CRAN).

I wrote a blog post about it with several examples:
https://blog.ephorie.de/symbolic-regression-genetic-programming-or-if-kepler-had-r

Upvotes: 4

elcortegano
elcortegano

Reputation: 2694

Ok, so you can download rgp from the (unofficial) repository of CRAN at github.com

You should start trying the git tool to do it. This way, once you've installed it, you can clone the repository with:

git clone https://github.com/cran/rgp.git

In the R/ folder of the repository (the local copy that you've downloaded or in the very github website of the rgp package) you should see all functions of the package, as .R files.

Other way to use these functions would be to build (R CMD build) the package, install it (install.packages("builtrepo.tgz",repos=NULL,type="source")) and load (with require or include).

Upvotes: 3

Related Questions