gtools v3.5.0


Monthly downloads



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.

Functions in gtools

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

Last month downloads


Date 2015-05-26
License GPL-2
Repository CRAN
Repository/R-Forge/Project r-gregmisc
Repository/R-Forge/Revision 2048
Repository/R-Forge/DateTimeStamp 2015-05-27 16:38:37
Date/Publication 2015-05-29 10:36:40
NeedsCompilation yes
Packaged 2015-05-27 16:45:10 UTC; rforge

Include our badge in your README