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.5
Depends: methods, stats, utils
Suggests: car, gplots, knitr, rstudioapi, SGP, taxize
Published: 2023-11-20
Author: Gregory R. Warnes [aut], Ben Bolker ORCID iD [aut, cre], Thomas Lumley [aut], Arni Magnusson [aut], Bill Venables [aut], Genei Ryodan [aut], Steffen Moeller [aut], Ian Wilson [ctb], Mark Davis [ctb], Nitin Jain [ctb], Scott Chamberlain [ctb]
Maintainer: Ben Bolker <bolker 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.5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gtools_3.9.5.tgz, r-oldrel (arm64): gtools_3.9.5.tgz, r-release (x86_64): gtools_3.9.5.tgz
Old sources: gtools archive

Reverse dependencies:

Reverse depends: Biocomb, collpcm, crossdes, dice, DisHet, fCI, fsemipar, GameTheory, genetics, GhostKnockoff, GSM, Hiiragi2013, HUM, iCARE, IDPSurvival, integr, MBttest, MDplot, MetabolAnalyze, MineICA, modMax, mrfse, NBBttest, NonParRolCor, ordinalpattern, PairViz, PANPRSnext, PRECAST, ProFAST, qeML, regtools, rmpw, RolWinMulCor, RTCA, rvHPDT, sensory, splineTimeR, SummaryLasso, Ultimixt
Reverse imports: adproclus, adverSCarial, AgroR, AlphaBeta, ANCOMBC, ArchaeoPhases, archiDART, ASMap, ATACCoGAPS, atmopt, ausplotsR, autohrf, AutoWeatherIndices, BAMBI, baycn, BayesMultiMode, beezdiscounting, bikm1, binovisualfields, biscuiteer, BloodGen3Module, bootCT, bootnet, bpgmm, BradleyTerry2, breakpointR, BSPBSS, bsseq, BubbleTree, bumblebee, BUMHMM, CAGEr, CARBayesST, casper, causalDisco, ccfindR, cellscape, CeRNASeek, chimeraviz, ChIPQC, ChIPseeker, ClickClustCont, coalitions, CoClust, codacore, CoImp, combiroc, CoMiRe, communication, compcodeR, ConsRank, conStruct, contiBAIT, CoopGame, coopProductGame, crov, digitalDLSorteR, dirichletprocess, discordant, dnapath, doseSens, dotsViolin, drc, dreamlet, dtp, dwp, dynpanel, easylabel, EBMAforecast, econullnetr, ecospat, ENmix, epiNEM, erccdashboard, erp.easy, escalation, eSIR, EWSmethods, expSBM, ExtremalDep, factormodel, FAMetA, fastLink, fastTopics, finnts, fishpond, forensIT, frequency, fwildclusterboot, gambin, gdata, GenEst, GenVisR, ggESDA, GGMselect, GOfuncR, gplots, grapesAgri1, graphPAF, HiCcompare, HiCDOC, hierfstat, highMLR, HKprocess, hydraulics, HyperG, IBRtools, icensBKL, imputeMulti, infinityFlow, ISAT, IsoCheck, isomiRs, iSTATS, kamila, karyotapR, Kcop, KEGGlincs, knockoff, lddmm, learnPopGen, LINselect, lnmCluster, ltmix, MaOEA, MarkowitzR, marp, mau, MCARtest, mcMST, MEDIPS, MEPDF, methylKit, mgm, microhaplot, microsamplingDesign, miloR, miRBaseVersions.db, missRows, mixedMem, modnets, MouseFM, movieROC, MRPC, MSclust, MSRDT, mulset, MultiObjMatch, musicatk, MuViCP, mvtmeta, nardl, neotoma2, netchain, NetMix, netSEM, nima, noisySBM, nparMD, NSM3, OncoSimulR, OWEA, PAA, paleobioDB, pcsstools, phenopix,, PLMIX, PolyPatEx, polySegratioMM, PopED, ppsbm, preciseTAD, projpred, pRoloc, Prostar, ProteoMM, protGear, protHMM, PSSMCOOL, PSW, qgraph, qsea, QTLEMM, qtlpoly, Qtools, rabhit, RankAggreg, rankrate, RareVariantVis, RBE3, rcompendium, rdtLite, ReDirection, ref.ICAR, regmed, REQS, reservoir, RevEcoR, revpref, rexposome, RI2by2, RobMixReg, robnptests, rrMixture, rsyncrosim, rubias, scFeatures, selectKSigs, SensoMineR, SGP, shinystan, signatureSurvival, SOHPIE, SparseLPM, SpatialDDLS, SPIAT, spkTools, spqdep, ss3sim, SSHAARP, ssifs, sSNAPPY, staRdom, starvz, STEPCAM, stockR, supcluster, svs, TcGSA, TDCM, textmineR, TFBSTools, tidylda, tigger, timescape, TimiRGeN, TiPS, TML, trialr, TRONCO, TSANN, uwedragon, validata, veccompare, visualFields, votesys, XDE, xhaz, ZINAR1, zoid
Reverse suggests: AgiMicroRna, cats, codalm, CohortPlat, DOBAD, EDCimport, epigraphdb, fdapace, formods, GeneticsPed, GLMcat, gmodels, HistData, idiogramFISH, inferCSN, ISAnalytics, lcra, LSAmitR, MARVEL, mdw, partition, piano, psfmi, PWMEnrich, QFASA, R.filesets, r4ss, rattle, sensitivity, SUSY, vhica


Please use the canonical form to link to this page.