gtools: Various R Programming Tools

Functions to assist in R programming, including: - assist in developing, updating, and maintaining R and R packages ('ask', 'checkRVersion', 'getDependencies', 'keywords', 'scat'), - calculate the logit and inverse logit transformations ('logit', 'inv.logit'), - test if a value is missing, empty or contains only NA and NULL values ('invalid'), - manipulate R's .Last function ('addLast'), - define macros ('defmacro'), - detect odd and even integers ('odd', 'even'), - convert strings containing non-ASCII characters (like single quotes) to plain ASCII ('ASCIIfy'), - perform a binary search ('binsearch'), - sort strings containing both numeric and character components ('mixedsort'), - create a factor variable from the quantiles of a continuous variable ('quantcut'), - enumerate permutations and combinations ('combinations', 'permutation'), - calculate and convert between fold-change and log-ratio ('foldchange', 'logratio2foldchange', 'foldchange2logratio'), - calculate probabilities and generate random numbers from Dirichlet distributions ('rdirichlet', 'ddirichlet'), - apply a function over adjacent subsets of a vector ('running'), - modify the TCP\_NODELAY ('de-Nagle') flag for socket objects, - efficient 'rbind' of data frames, even if the column names don't match ('smartbind'), - generate significance stars from p-values ('stars.pval'), - convert characters to/from ASCII codes.

Author
Gregory R. Warnes, Ben Bolker, and Thomas Lumley
Date of publication
2015-05-29 10:36:40
Maintainer
Gregory R. Warnes <greg@warnes.net>
License
GPL-2
Version
3.5.0

View on CRAN

Man pages

asc
Convert between characters and ASCII codes
ASCIIfy
Convert Characters to ASCII
ask
Display a prompt and collect the user's response
binsearch
Binary Search
checkRVersion
Check if a newer version of R is available
combinations
Enumerate the Combinations or Permutations of the Elements of...
defmacro
Define a macro
dirichlet
Functions for the Dirichlet Distribution
ELISA
Data from an ELISA assay
foldchange
Compute fold-change or convert between log-ratio and...
getDependencies
Get package dependencies
gtools-defunct
Defunct Functions in package 'gtools'
gtools-deprecated
Deprecated Functions in the gtools package
invalid
Test if a value is missing, empty, or contains only NA or...
keywords
List valid keywords for R man pages
lastAdd
Non-destructively construct a .Last function to be executed...
loadedPackages
Provide Name, Version, and Path of Loaded Package Namespaces
logit
Generalized logit and inverse logit function
mixedsort
Order or Sort strings with embedded numbers so that the...
na.replace
Replace Missing Values
oddeven
Detect odd/even integers
permute
Randomly Permute the Elements of a Vector
quantcut
Create a Factor Variable Using the Quantiles of a Continuous...
roman2int
Convert Roman Numerals to Integers
running
Apply a Function Over Adjacent Subsets of a Vector
scat
Display debugging text
setTCPNoDelay
Modify the TCP\_NODELAY ('de-Nagle') flag for socket objects
smartbind
Efficient rbind of data frames, even if the column names...
stars.pval
Generate significance stars from p-values
unByteCode
Convert a Byte-Code Function to an Interpreted-Code Function

Files in this package

gtools
gtools/inst
gtools/inst/NEWS
gtools/inst/ChangeLog
gtools/tests
gtools/tests/test_mixedorder.R
gtools/tests/smartbind_Dates.R
gtools/tests/test_ddirichlet.R
gtools/tests/test_binsearch.R
gtools/src
gtools/src/roman2int.c
gtools/src/setTCPNoDelay.c
gtools/src/Makevars.win
gtools/NAMESPACE
gtools/NEWS
gtools/data
gtools/data/ELISA.rda
gtools/R
gtools/R/loadedPackages.R
gtools/R/logit.R
gtools/R/unByteCode.R
gtools/R/mixedsort.R
gtools/R/asc.R
gtools/R/binsearch.R
gtools/R/ASCIIfy.R
gtools/R/oddeven.R
gtools/R/defmacro.R
gtools/R/roman2int.R
gtools/R/quantcut.R
gtools/R/checkReverseDependencies.R
gtools/R/combinations.R
gtools/R/na.replace.R
gtools/R/keywords.R
gtools/R/dirichlet.R
gtools/R/deprecated.R
gtools/R/lastAdd.R
gtools/R/invalid.R
gtools/R/smartbind.R
gtools/R/strmacro.R
gtools/R/trimws.R
gtools/R/running.R
gtools/R/addLast.R
gtools/R/newVersionAvailable.R
gtools/R/setTCPNoDelay.R
gtools/R/foldchange.R
gtools/R/defunct.R
gtools/R/getDependencies.R
gtools/R/RSCompat.S
gtools/R/ask.R
gtools/R/stars.pval.R
gtools/R/permute.R
gtools/R/scat.R
gtools/R/clean_up_dependencies2.R
gtools/R/checkRVersion.R
gtools/MD5
gtools/DESCRIPTION
gtools/ChangeLog
gtools/man
gtools/man/roman2int.Rd
gtools/man/running.Rd
gtools/man/gtools-deprecated.Rd
gtools/man/ASCIIfy.Rd
gtools/man/setTCPNoDelay.Rd
gtools/man/ask.Rd
gtools/man/defmacro.Rd
gtools/man/getDependencies.Rd
gtools/man/combinations.Rd
gtools/man/unByteCode.Rd
gtools/man/smartbind.Rd
gtools/man/asc.Rd
gtools/man/gtools-defunct.Rd
gtools/man/dirichlet.Rd
gtools/man/stars.pval.Rd
gtools/man/logit.Rd
gtools/man/permute.Rd
gtools/man/scat.Rd
gtools/man/mixedsort.Rd
gtools/man/loadedPackages.Rd
gtools/man/binsearch.Rd
gtools/man/oddeven.Rd
gtools/man/quantcut.Rd
gtools/man/lastAdd.Rd
gtools/man/foldchange.Rd
gtools/man/invalid.Rd
gtools/man/na.replace.Rd
gtools/man/checkRVersion.Rd
gtools/man/ELISA.Rd
gtools/man/keywords.Rd