rrapply - Revisiting Base Rapply
The minimal 'rrapply'-package contains a single function rrapply(), providing an extended implementation of 'R'-base rapply() by allowing to recursively apply a function to elements of a nested list based on a general condition function and including the possibility to prune or aggregate nested list elements from the result. In addition, special arguments can be supplied to access the name, location, parents and siblings in the nested list of the element under evaluation. The rrapply() function builds upon rapply()'s native 'C' implementation and requires no other package dependencies.
Last updated 19 days ago
listrapplyrecursion
8.56 score 56 stars 14 dependents 68 scripts 1.5k downloadsgslnls - GSL Multi-Start Nonlinear Least-Squares Fitting
An R interface to weighted nonlinear least-squares optimization with the GNU Scientific Library (GSL), see M. Galassi et al. (2009, ISBN:0954612078). The available trust region methods include the Levenberg-Marquardt algorithm with and without geodesic acceleration, the Steihaug-Toint conjugate gradient algorithm for large systems and several variants of Powell's dogleg algorithm. Multi-start optimization based on quasi-random samples is implemented using a modified version of the algorithm in Hickernell and Yuan (1997, OR Transactions). Robust nonlinear regression can be performed using various robust loss functions, in which case the optimization problem is solved by iterative reweighted least squares (IRLS). Bindings are provided to tune a number of parameters affecting the low-level aspects of the trust region algorithms. The interface mimics R's nls() function and returns model objects inheriting from the same class.
Last updated 4 days ago
gnu-scientific-librarygsllevenberg-marquardtmulti-startnonlinear-least-squaresnonlinear-regressionrobust-regresssionfortranglibc
6.61 score 15 stars 1 dependents 34 scripts 4.4k downloadscheckglobals - Static Analysis of R-Code Dependencies
A minimal R-package to approximately detect global and imported functions or variables from R-source code or R-packages by static code analysis.
Last updated 19 days ago
package-dependenciesstatic-code-analysis
3.90 score 8 stars 539 downloads