Other packages > Find by keyword >

gtools  

Various R Programming Tools
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("gtools", "3.9.5")



Attach the package and use:
library("gtools")
Maintained by
Ben Bolker
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2005-05-30
Latest Update: 2023-11-20
Description:
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 ('asc', 'chr'), - convert character vector to ASCII representation ('ASCIIfy'), - apply title capitalization rules to a character vector ('capwords').
How to cite:
Ben Bolker (2005). gtools: Various R Programming Tools. R package version 3.9.5, https://cran.r-project.org/web/packages/gtools. Accessed 05 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:46), 2.0.7 (2005-05-30 13:06), 2.0.9 (2005-09-02 00:41), 2.1.0 (2005-09-03 21:43), 2.1.1 (2005-09-23 17:55), 2.2.2 (2005-12-14 15:39), 2.2.3 (2005-12-21 17:27), 2.3.0 (2006-11-28 10:16), 2.3.1 (2007-04-11 10:21), 2.4.0 (2007-08-09 15:01), 2.5.0-1 (2009-02-19 13:20), 2.5.0 (2008-05-27 08:47), 2.6.1-1 (2010-05-01 17:59), 2.6.1 (2009-05-10 20:54), 2.6.2 (2010-05-02 09:04), 2.7.0 (2012-06-20 07:38), 2.7.1 (2013-04-02 10:31), 3.0.0 (2013-07-07 17:40), 3.1.0 (2013-09-23 18:29), 3.1.1 (2014-01-13 09:12), 3.2.0 (2014-01-12 09:54), 3.2.1 (2014-01-13 16:04), 3.3.0 (2014-02-11 21:31), 3.3.1 (2014-03-02 00:17), 3.4.0 (2014-04-18 01:42), 3.4.1 (2014-05-28 09:52), 3.4.2 (2015-04-10 14:48), 3.5.0 (2015-05-29 10:36), 3.8.1 (2018-06-26 16:38), 3.8.2 (2020-03-31 15:50), 3.9.2.1 (2022-05-23 10:27), 3.9.2.2 (2022-06-13 15:09), 3.9.2 (2021-06-06 12:00), 3.9.3 (2022-07-11 20:30), 3.9.4 (2022-11-27 23:00)
Other packages that cited gtools R package
View gtools citation profile
Other R packages that gtools depends, imports, suggests or enhances
Complete documentation for gtools
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

correlation  
Methods for Correlation Analysis
Lightweight package for computing different kinds of correlations, such as partial correlations, Ba ...
Download / Learn more Package Citations See dependency  
cdlTools  
Tools to Download and Work with USDA Cropscape Data
Downloads USDA National Agricultural Statistics Service (NASS) cropscape data for a specified state ...
Download / Learn more Package Citations See dependency  
genie  
Fast, Robust, and Outlier Resistant Hierarchical Clustering
Includes the reference implementation of Genie - a hierarchical clustering algorithm that links two ...
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  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA