Other packages > Find by keyword >

gsubfn  

Utilities for Strings and Function Arguments
View on CRAN: Click here


Download and install gsubfn package within the R console
Install from CRAN:
install.packages("gsubfn")

Install from Github:
library("remotes")
install_github("cran/gsubfn")

Install by package version:
library("remotes")
install_version("gsubfn", "0.7")



Attach the package and use:
library("gsubfn")
Maintained by
G. Grothendieck
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2006-03-27
Latest Update: 2018-03-16
Description:
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.
How to cite:
G. Grothendieck (2006). gsubfn: Utilities for Strings and Function Arguments. R package version 0.7, https://cran.r-project.org/web/packages/gsubfn
Previous versions and publish date:
0.1-0 (2006-03-27 09:28), 0.1-1 (2006-04-05 10:21), 0.1-2 (2006-04-18 11:58), 0.1-3 (2006-04-23 20:46), 0.1-4 (2006-08-23 21:57), 0.1-5 (2006-10-01 16:14), 0.2-0 (2006-10-06 14:57), 0.2-1 (2006-10-10 11:11), 0.2-2 (2006-10-15 11:08), 0.3-1 (2006-10-23 16:52), 0.3-3 (2006-10-28 16:55), 0.3-7 (2008-10-17 10:28), 0.3-8 (2008-12-15 10:01), 0.5-0 (2009-07-02 08:52), 0.5-1 (2010-03-16 18:23), 0.5-2 (2010-03-23 20:33), 0.5-3 (2010-06-13 10:22), 0.5-5 (2010-11-18 15:44), 0.5-7 (2011-06-07 08:35), 0.6-2 (2012-03-28 20:13), 0.6-3 (2012-04-03 09:35), 0.6-4 (2012-08-01 14:48), 0.6-5 (2012-10-22 17:58), 0.6-6 (2014-08-27 21:17)
Other packages that cited gsubfn R package
View gsubfn citation profile
Other R packages that gsubfn depends, imports, suggests or enhances
Functions, R codes and Examples using the gsubfn R package
Some associated functions: as.function.formula . fn . gsubfn-package . gsubfn . list . match.funfn . read.pattern . strapply . transform2 . 
Some associated R codes: fn.R . gsubfn.R . list.R . read.pattern.R . strapplyc.R . transform2.R . zzz.R .  Full gsubfn package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

mistral  
Methods in Structural Reliability
Various reliability analysis methods for rare event inference (computing failure probability and qua ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
ftaproxim  
Fault Tree Analysis Based on Proxel Simulation
Calculation and plotting of instantaneous unavailabilities of basic events along with the top event ...
Download / Learn more Package Citations See dependency  
rdbnomics  
Download DBnomics Data
R access to hundreds of millions data series from DBnomics API (). ...
Download / Learn more Package Citations See dependency  
steepness  
Testing Steepness of Dominance Hierarchies
The steepness package computes steepness as a property of dominance hierarchies. Steepness is define ...
Download / Learn more Package Citations See dependency  
critpath  
Setting the Critical Path in Project Management
Solving the problem of project management using CPM (Critical Path Method), PERT (Program Evaluation ...
Download / Learn more Package Citations See dependency  

22,114

R Packages

188,080

Dependencies

55,244

Author Associations

22,115

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net. Contact Us / Suggestions / Concerns