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 ('asc', 'chr'), - convert character vector to ASCII representation ('ASCIIfy'), - apply title capitalization rules to a character vector ('capwords').

Version: 3.9.2
Depends: methods, stats, utils
Suggests: car, gplots, knitr, rstudioapi, SGP, taxize
Published: 2021-06-06
Author: Gregory R. Warnes, Ben Bolker, and Thomas Lumley
Maintainer: Gregory R. Warnes <greg at>
License: GPL-2
NeedsCompilation: yes
Language: en-US
Materials: README NEWS ChangeLog
CRAN checks: gtools results


Reference manual: gtools.pdf


Package source: gtools_3.9.2.tar.gz
Windows binaries: r-devel:, r-devel-UCRT:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gtools_3.9.2.tgz, r-release (x86_64): gtools_3.9.2.tgz, r-oldrel: gtools_3.9.2.tgz
Old sources: gtools archive

Reverse dependencies:

Reverse depends: ASMap, Biocomb, ClusterR, collpcm, crossdes, dice, DisHet, fCI, GameTheory, genetics, GESTr, GhostKnockoff, GSM, Hiiragi2013, HUM, iCARE, iCluster, IDPSurvival, integr, interferenceCI, iteRates, JASPAR, MasterBayes, MBttest, MDplot, MetabolAnalyze, MineICA, modMax, muma, NBBttest, NonParRolCor, ordinalpattern, orQA, PairViz, REQS, rmpw, RolWinMulCor, rpsychi, RTCA, rvHPDT, sensory, splineTimeR, SummaryLasso, trioGxE, Ultimixt
Reverse imports: ABAEnrichment, AlphaBeta, ANTs, aRchi, archiDART, atmopt, ausplotsR, autostats, BAMBI, baycn, BayesFactor, bikm1, binovisualfields, biscuiteer, BloodGen3Module, bmotif, bootnet, bpcs, bpgmm, BradleyTerry2, breakpointR, bsseq, BubbleTree, bumblebee, BUMHMM, CAGEr, CARBayesST, casper, CausalQueries, ccfindR, cellscape, CeRNASeek, chimeraviz, ChIPQC, ChIPseeker, ClickClustCont, CloneSeeker, coalitions, CoClust, CoImp, combiroc, CoMiRe, communication, compcodeR, ConsRank, conStruct, contiBAIT, conting, CoopGame, coopProductGame, cooptrees, CopywriteR, CountClust, crov, digitalDLSorteR, dirichletprocess, discordant, drc, dtp, dynpanel, easylabel, EBMAforecast, econullnetr, ecospat, ENmix, epiNEM, erccdashboard, erp.easy, escalation, expSBM, ExtremalDep, factormodel, FAMetA, fastLink, fishpond, flexsurvcure, frequency, fwildclusterboot, gambin, gdata, GeneAccord, GenEst, GenVisR, GGMselect, GOfuncR, gplots, grapesAgri1, gwdegree, HiCcompare, hier.part, hierfstat, highMLR, HKprocess, HyperG, icensBKL, imputeMulti, infinityFlow, ISAT, IsoCheck, isomiRs, iSTATS, joineRmeta, kamila, KEGGlincs, knockoff, lddmm, learnPopGen, LINselect, ltmix, MACPET, MaOEA, mapaccuracy, MarkowitzR, mau, mcMST, meaRtools, MEDIPS, MEPDF, metaMix, methylKit, mgm, microhaplot, microsamplingDesign, MicroSEC, miloR, minimaxdesign, miRBaseVersions.db, missRows, mixedMem, modcmfitr, modnets, MouseFM, MRPC, MSRDT, muHVT, mulset, musicatk, MuViCP, mvtmeta, nardl, netchain, NetMix, netSEM, nima, noisySBM, nparMD, NSM3, OmicInt, OncoSimulR, openCyto, OWEA, PAA, paleobioDB, pcsstools, phenopix,, PLMIX, PolyPatEx, polySegratioMM, PopED, ppsbm, preciseTAD, pRoloc, ProteoMM, PSSMCOOL, PSW, qgraph, qsea, qtlpoly, Qtools, r4ss, randomUniformForest, RankAggreg, RAQSAPI, RareVariantVis, rcompendium, RCPmod, rdtLite, ReDirection, RegularizedSCA, reservoir, RevEcoR, revpref, rexposome, RI2by2, Rlda, RobMixReg, robnptests, rsyncrosim, rubias, selectKSigs, SensoMineR, SGP, shinystan, sourceR, SourceSet, SparseLPM, spkTools, ss3sim, SSHAARP, staRdom, starvz, STEPCAM, stockR, supcluster, svs, TcGSA, textmineR, TFBSTools, tidylda, tigger, timescape, TimiRGeN, TiPS, TraMineRextras, TraRe, trialr, TRONCO, TSRchitect, validata, veccompare, visualFields, vortexR, votesys, XDE, zoid
Reverse suggests: AgiMicroRna, BayesMallows, bigPint, codalm, CohortPlat, DOBAD, epigraphdb, fdapace, GeneticsPed, GLMcat, gmodels, HistData, httk, idiogramFISH, ISAnalytics, lcra, LSAmitR, mdw, nonparaeff, paleofire, piano, PWMEnrich, QFASA, R.filesets, rattle, sensitivity, vhica


Please use the canonical form to link to this page.