Showing 6 of total 6 results (show query)
ggrothendieck
gsubfn:Utilities for Strings and Function Arguments
The gsubfn function is like gsub but can take a replacement function or certain other objects instead of the replacement string. Matches and back references are input to the replacement function and replaced by the function output. gsubfn can be used to split strings based on content rather than delimiters and for quasi-perl-style string interpolation. The package also has facilities for translating formulas to functions and allowing such formulas in function calls instead of functions. This can be used with R functions such as apply, sapply, lapply, optim, integrate, xyplot, Filter and any other function that expects another function as an input argument or functions like cat or sql calls that may involve strings where substitution is desirable. There is also a facility for returning multiple objects from functions and a version of transform that allows the RHS to refer to LHS used in the same transform.
Maintained by G. Grothendieck. Last updated 7 years ago.
11 stars 10.58 score 872 scripts 76 dependentsthie1e
cutpointr:Determine and Evaluate Optimal Cutpoints in Binary Classification Tasks
Estimate cutpoints that optimize a specified metric in binary classification tasks and validate performance using bootstrapping. Some methods for more robust cutpoint estimation are supported, e.g. a parametric method assuming normal distributions, bootstrapped cutpoints, and smoothing of the metric values per cutpoint using Generalized Additive Models. Various plotting functions are included. For an overview of the package see Thiele and Hirschfeld (2021) <doi:10.18637/jss.v098.i11>.
Maintained by Christian Thiele. Last updated 4 months ago.
bootstrappingcutpoint-optimizationroc-curvecpp
88 stars 10.44 score 322 scripts 1 dependentsbioc
MLInterfaces:Uniform interfaces to R machine learning procedures for data in Bioconductor containers
This package provides uniform interfaces to machine learning code for data in R and Bioconductor containers.
Maintained by Vincent Carey. Last updated 5 months ago.
7.63 score 79 scripts 6 dependentsegnha
gestalt:Tools for Making and Combining Functions
Provides a suite of function-building tools centered around a (forward) composition operator, %>>>%, which extends the semantics of the 'magrittr' %>% operator and supports 'Tidyverse' quasiquotation. It enables you to construct composite functions that can be inspected and transformed as list-like objects. In conjunction with %>>>%, a compact function constructor, fn(), and a partial-application constructor, partial(), are also provided; both support quasiquotation.
Maintained by Eugene Ha. Last updated 3 years ago.
anonymous-functionsfunction-compositionpartial-applicationquasiquotation
38 stars 5.53 score 18 scriptssciviews
svBase:Base Objects like Data Frames for 'SciViews::R'
Functions to manipulated the three main classes of "data frames" for 'SciViews::R': data.frame, data.table and tibble. Allow to select the preferred one, and to convert more carefully between the three, taking care of correct presentation of row names and data.table's keys. More homogeneous way of creating these three data frames and of printing them on the R console.
Maintained by Philippe Grosjean. Last updated 9 months ago.
4.38 score 3 scripts 8 dependentsegnha
nofrills:Low-Cost Anonymous Functions
Provides a compact variation of the usual syntax of function declaration, in order to support tidyverse-style quasiquotation of a function's arguments and body.
Maintained by Eugene Ha. Last updated 3 years ago.
anonymous-functionscurryinglambda-functionspartial-functionsquasiquotation
39 stars 4.29 score 7 scripts