Package: vfunc 1.0
vfunc: Manipulate Virtual Functions
If f <- function(x){x^2} and g <- function(x){x+1} it is a constant source of annoyance that "f+g" is not defined. Package 'vfunc' allows you to do this, and we have (f+g)(2) returning 6. The other arithmetic operators are similarly implemented. A wide class of coding bugs is eliminated.
Authors:
vfunc_1.0.tar.gz
vfunc_1.0.zip(r-4.7)vfunc_1.0.zip(r-4.6)vfunc_1.0.zip(r-4.5)
vfunc_1.0.tgz(r-4.6-any)vfunc_1.0.tgz(r-4.5-any)
vfunc_1.0.tar.gz(r-4.7-any)vfunc_1.0.tar.gz(r-4.6-any)
vfunc_1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
vfunc/json (API)
| # Install 'vfunc' in R: |
| install.packages('vfunc', repos = c('https://robinhankin.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/robinhankin/vfunc/issues
Pkgdown/docs site:https://robinhankin.github.io
Last updated from:d85916701a. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 140 | ||
| source / vignettes | OK | 173 | ||
| linux-release-x86_64 | OK | 124 | ||
| macos-release-arm64 | OK | 163 | ||
| macos-oldrel-arm64 | OK | 99 | ||
| windows-devel | OK | 95 | ||
| windows-release | OK | 104 | ||
| windows-oldrel | OK | 88 | ||
| wasm-release | OK | 128 |
Exports:AbsAcosAcoshas.functionas.vfAsinAsinhAtanAtanhCeilingCosCoshCospiCummaxCumminCumprodCumsumDigammaExpExpm1FloorGammaLgammaLogLog10Log1pLog2powSignSinSinhSinpiSqrtTanTanhTanpiTrigammaTrunc
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Manipulate Virtual Functions | vfunc-package vfunc |
| Coerce functions to a virtual function. | as.vf as.vf,ANY-method as.vf,function-method |
| 'Compare' methods for 'vf' objects | Compare,ANY,vf-method Compare,function,vf-method Compare,vf,ANY-method Compare,vf,function-method Compare,vf,vf-method Compare-methods |
| Math group generic functions in the 'vfunc' package: trig, exponential, log, etc. | Abs abs,vf-method Acos acos,vf-method Acosh acosh,vf-method Asin asin,vf-method Asinh asinh,vf-method Atan atan,vf-method Atanh atanh,vf-method Ceiling ceiling,vf-method Cos cos,vf-method Cosh cosh,vf-method Cospi cospi,vf-method Cummax cummax,vf-method Cummin cummin,vf-method Cumprod cumprod,vf-method Cumsum cumsum,vf-method Digamma digamma,vf-method Exp exp,vf-method Expm1 expm1,vf-method Floor floor,vf-method Gamma gamma,vf-method Lgamma lgamma,vf-method Log log,vf-method Log10 log10,vf-method Log1p log1p,vf-method Log2 log2,vf-method Math Sign sign,vf-method Sin sin,vf-method Sinh sinh,vf-method Sinpi sinpi,vf-method Sqrt sqrt,vf-method Tan tan,vf-method Tanh tanh,vf-method Tanpi tanpi,vf-method Trigamma trigamma,vf-method Trunc trunc,vf-method |
| Methods for Function 'Math', 'Arith' in the 'vfunc' package | Arith,ANY,vf-method Arith,function,vf-method Arith,vf,ANY-method Arith,vf,function-method Arith,vf,missing-method Arith,vf,vf-method Arith-methods Math,vf-method Math-methods |
| Iterated functions; functional powers | pow power |
| Class '"vf"' | as.function,vf-method as.vf,vf-method coerce,ANY,vf-method coerce,function,vf-method coerce,vf,function-method vf-class |
