PageRenderTime 24ms CodeModel.GetById 7ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

#! | 22 lines | 22 code | 0 blank | 0 comment | 0 complexity | ec3807a870a99705a869fdf9f94e4352 MD5 | raw file
 1Package: gsubfn
 2Version: 0.6-2
 3Date: 2012-03-23
 4Title: Utilities for strings and function arguments.
 5Author: G. Grothendieck
 6Maintainer: G. Grothendieck <>
 7Description: gsubfn is like gsub but can take a replacement function
 8   or certain other objects instead of the replacement string.
 9   Matches and back references are input to the replacement function and 
10   replaced by the function output.   gsubfn can be used to split strings 
11   based on content rather than delimiters and for quasi-perl-style string 
12   interpolation. The package also has facilities for translating formulas 
13   to functions and allowing such formulas in function calls instead of 
14   functions.  This can be used with R functions such as apply, sapply,
15   lapply, optim, integrate, xyplot, Filter and any other function that 
16   expects another function as an input argument or functions like cat
17   or sql calls that may involve strings where substitution is desirable.
18ByteCompile: true
19Depends: R (>= 2.14.0), proto
20Suggests: boot, chron, doBy, grid, lattice, quantreg, reshape, svUnit, tcltk, zoo
21License: GPL (>= 2)