DescTools
0.99.60Tools for Descriptive Statistics
Overview
A collection of miscellaneous basic statistic functions and convenience wrappers for efficiently describing data. The author's intention was to create a toolbox, which facilitates the (notoriously time consuming) first descriptive tasks in data analysis, consisting of calculating descriptive statistics, drawing graphical summaries and reporting the results. The package contains furthermore functions to produce documents using MS Word (or PowerPoint) and functions to import data from Excel. Many of the included functions can be found scattered in other packages and other sources written partly by Titans of R. The reason for collecting them here, was primarily to have them consolidated in ONE instead of dozens of packages (which themselves might depend on other packages which are not needed at all), and to provide a common and consistent interface as far as function and arguments naming, NA handling, recycling rules etc. are concerned. Google style guides were used as naming rules (in absence of convincing alternatives). The 'BigCamelCase' style was consequently applied to functions borrowed from contributed R packages as well.
NEW FUNCTIONS ADDED:
- Downloads() helperfunction for a fast access to downloaded XL- or data files.
- Moment functions for the most common distributions.
UPDATED FUNCTIONS:
- FisherZ() and FisherZInv() use atanh(), resp. tanh() now. (Credits to Daniel Wollschlaeger)
- Year(), Week(), YearWeek() have been recoded in C++ and run now 4-10 times faster.
- Format() gets two new predefined formats for displaying confidence intervals, fmt="ci" and fmt="ci%".
- Small improvement in Outlier() for method "hampel" (Credits to Luis Gustavo Schuck).
From NEWS in the release
Install
Health
NOTERd cross-referencesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Unknown package ‘prettyR’ in Rd xrefs
r-devel-linux-x86_64-fedora-clang
Undeclared packages ‘ineq’, ‘randtests’, ‘Hmisc’, ‘plotrix’, ‘caret’, ‘pcaPP’, ‘polycor’, ‘lmtest’, ‘car’, ‘gmp’, ‘vcdExtra’, ‘chron’, ‘coin’, ‘caTools’, ‘forecast’, ‘sfsmisc’, ‘vcd’, ‘areaplot’, ‘corrgram’, ‘UsingR’, ‘memisc’, ‘gtools’, ‘BSDA’, ‘prettyR’, ‘robustHD’ in Rd xrefs Unknown package ‘prettyR’ in Rd xrefs
r-devel-windows-x86_64
Unknown package 'prettyR' in Rd xrefs
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: DescTools/R/Desc.R (.Names: 4) DescTools/R/DescTools.r (.Names: 4) DescTools/R/PageDF.r (.Names: 1) DescTools/man/PlotBag.Rd (.Dim: 1, .Dimnames: 1) '.Names' should be changed to 'names'. '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'.
- NOTE6 OK, 7 NOTE2026-09-12
- ERROR6 OK, 6 NOTE, 1 ERROR2026-09-04
- NOTE6 OK, 7 NOTE2026-06-09
- ERROR6 OK, 6 NOTE, 1 ERROR2026-06-08
- NOTE6 OK, 8 NOTE2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR6 OK, 7 NOTE, 1 ERROR2026-04-18
- NOTE9 OK, 5 NOTE2026-03-10
Documentation
- Help pages
- 431includes a package overview page
- Examples that run
- 91%386 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 33 never run · 3 hold no code
- Exported functions with examples
- 99%
- Documented parameters
- 94%
- Return-value docs
- 87%
- Help pages citing references
- 34%
Also includes 3 demo scripts (run with demo())
- Combinatorics PDF
- DescTools Companion PDF
- Tables in R PDF
Downloads
Repository
- PRs merged (all time)
- 73%
- Median days to close, 50 most recently updated closed issues
- 32
- Median days to close, 50 most recently updated closed PRs
- 4
Stars over time
Forks over time
Issues over time
PRs over time
7 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/andrisignorell/desctools on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-07-10 · The repository has a site deploy workflow
Dependencies
Installing DescTools adds 48 packages (31 with compiled code, 24 MB of source tarballs). Heaviest: data.table 5.7 MB, readxl 2.1 MB, Rcpp 1.8 MB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 37 more dependents and 26 packages that suggest it on CRAN ↗
Code & Tests
Datasets
People & History
Show 108 more contributorsHide 108 contributors
Maintainer since 0.99.6 (2014)
Show 6 peopleHide 6 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest
- 0.99.602025-03-28 · diff ↗ ·
added 15 exports
YearWeek, Downloads, mbinom, mpois, mgeom, mnbinom, mhyper, mnorm, mexp, mgamma, mlnorm, mbeta, mchisq, mt, mf - 0.99.59
Show 55 earlier eventsHide 55 earlier events
- 0.99.58
- 0.99.572024-09-26 · diff ↗
- 0.99.56
- 0.99.55
- 0.99.54
- 0.99.53
- 0.99.52
- 0.99.51
- 0.99.50
- 0.99.492023-05-17 · diff ↗
- 0.99.48
- 0.99.472022-10-23 · diff ↗
- 0.99.462022-09-01 · diff ↗
- 0.99.45
- 0.99.44
- 0.99.43
- 0.99.42
- 0.99.412021-04-10 · diff ↗ ·
removed 1 export
DenseRankadded 6 exports
MeanCIn, YearDays, MonthDays, NAIf, %::%, Rank - 0.99.40
- 0.99.39
- 0.99.38
- 0.99.372020-07-10 · diff ↗ ·
removed 1 export
CentralValueadded 8 exports
WrdDeleteBookmark, PlotConDens, StrSplit, SplitToCol, CmykToCmy, CmyToCmyk, RgbToCmy, CmykToRgb - 0.99.362020-05-23 · diff ↗
- 0.99.35
- 0.99.342020-03-12 · diff ↗
- 0.99.332020-03-10 · diff ↗ ·
added 5 exports
AllIdentical, CountWorkDays, VanWaerdenTest, RSessionAlive, RTempdirAlive - 0.99.32
- 0.99.31
- 0.99.30
- 0.99.292019-09-26 · diff ↗ ·
removed 13 exports
ColorDlg, Xplore, FileOpenCmd, ImportFileDlg, IsValidWrd, PlotMar, PlotPar, ColPicker, SaveAsDlg, SelectVarDlg, PlotPch, ModelDlg, dir.chooseadded 10 exports
IsValidHwnd, XLNamedReg, StrSpell, WithOptions, SaveAs, XLSaveAs, Quot, CompleteColumns, SendOutlookMail, MultMerge - 0.99.28
- 0.99.272019-01-19 · diff ↗ ·
removed 2 exports
Lookup, UnitConvadded 3 exports
ConvUnit, WrdSaveAs, Divisors - 0.99.262018-11-13 · diff ↗ ·
removed 1 export
PartitionByadded 8 exports
ToXL, SMAPE, dir.choose, Sample, DoBy, Dot, Cross, CrossN - 0.99.252018-08-14 · diff ↗ ·
added 13 exports
PlotCashFlow, XLCurrReg, WrdPageBreak, GeomSn, UnirootAll, TwoGroups, PMT, IPMT, PPMT, SLN, DB, SYD, RBAL - 0.99.242018-03-19 · diff ↗ ·
removed 3 exports
PlotMatrix, InsCol, InsRowadded 38 exports
Append, CountCompCases, SplitAt, rFrechet, rGumbel, rRevWeibull, rNegWeibull, rGenExtrVal, rGenPareto, rExtrVal, rOrder, dFrechet, dGumbel, dRevWeibull, dNegWeibull, dGenExtrVal, dGenPareto, dExtrVal, dOrder, pFrechet, pGumbel, pRevWeibull, pNegWeibull, pGenExtrVal, pGenPareto, pExtrVal, pOrder, qFrechet, qGumbel, qRevWeibull and 8 more - 0.99.232017-12-11 · diff ↗ ·
removed 2 exports
ChooseColorDlg, FixToTabadded 5 exports
ColorDlg, CourseData, FixToTable, NAIfZero, TTestA - 0.99.222017-09-13 · diff ↗ ·
removed 10 exports
ClipToVect, Date, Exec, LogGen, LogLin, LsData, SetRowNames, SetColNames, AddClass, RemoveClassadded 5 exports
PercentRank, Timezone, SetNames, NPVFixBond, YTM - 0.99.21
- 0.99.202017-04-19 · diff ↗ ·
removed 2 exports
median.factor, Mean.defaultadded 6 exports
VecShift, VonNeumannTest, InsCol, InsRow, ConoverTest, ModelDlg - 0.99.192017-02-11 · diff ↗ ·
added 10 exports
Quantile, Unwhich, PlotDev, %^%, TitleRect, BarText, as.CDateFmt, Phrase, N, BootCI - 0.99.182016-11-04 · diff ↗ ·
removed 16 exports
DrawAnnulus, DrawAnnulusSector, ImportDlg, PalDescTools, PalHelsana, PalRedBlackGreen, PalRedToBlack, PalRedWhiteGreen, PalSteeblueWhite, PalTibco, PlotHorizBar, Ray, RobRange, WrdR, WrdText, SetLabeladded 37 exports
FileOpenCmd, Unit, Unit<-, Abstract, ColumnWrap, WrdCellRange, WrdMergeCells, WrdFormatCells, PlotPch, Some, plot.palette, Pal, Shade, StrExtract, Arrow, Asp, PlotLog, axTicks.Date, LineToUser, PseudoR2, MAE, MSE, RMSE, MAPE, NMSE, NMAE, BrierScore, Fmt, as.fmt, ModSummary and 7 more - 0.99.172016-06-15 · diff ↗ ·
removed 1 export
PartCoradded 17 exports
CorPart, WrdTableBorders, RomanToInt, DigitSum, Range, Mean, Mean.default, SD, Var, Cov, Cor, Median, MAD, AddClass, RemoveClass, StrRep, ORToRelRisk - 0.99.162016-03-07 · diff ↗ ·
removed 124 exports
CochranQTest.default, CochranQTest.formula, Conf.default, Conf.glm, Conf.matrix, Conf.multinom, Conf.randomForest, Conf.regr, Conf.rpart, Conf.svm, Conf.table, Desc.character, Desc.data.frame, Desc.Date, Desc.default, Desc.factor, Desc.flags, Desc.formula, Desc.integer, Desc.Lc, Desc.list, Desc.logical, Desc.matrix, Desc.numeric, Desc.ordered, Desc.table, DescFactNum, DescNumFact, DescNumNum, DescWrd.data.frame and 94 moreadded 16 exports
AddMonthsYM, GoodmanKruskalTau, ColPicker, RoundTo, Lookup, KendallTauA, VarTest, PlotBinTree, ToWrd, BreuschGodfreyTest, WrdParagraphFormat, WrdParagraphFormat<-, WrdFont, WrdFont<-, WrdStyle, WrdStyle<- - 0.99.15
- 0.99.142015-10-12 · diff ↗ ·
removed 1 export
MarginTableadded 6 exports
%like any%, lines.SmoothSpline, Margins, SmoothSpline, LongToRgb, PlotMiss - 0.99.13
- 0.99.122015-08-21 · diff ↗ ·
removed 1 export
pattern:^[^\\.]added 546 exports
%()%, %(]%, %)(%, %)[%, %[)%, %[]%, %](%, %][%, %c%, %like%, %nin%, %overlaps%, AddMonths, Agree, AllDuplicated, AndersonDarlingTest, aovlDetails, aovlErrorTerms, as.matrix.xtabs, AscToChar, Assocs, Atkinson, AUC, AxisBreak, BartelsRankTest, BinomCI, BinomDiffCI, BinomRatioCI, BinToDec, BoxCox and 516 more - 0.99.112015-05-15 · diff ↗
- 0.99.102015-03-21 · diff ↗
- 0.99.92015-01-20 · diff ↗
- 0.99.8.12014-09-22 · diff ↗
- 0.99.82014-09-20 · diff ↗
- 0.99.72014-05-04 · diff ↗
- 0.99.62014-01-07
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2013-12-18
- Total releases
- 57 / 13 yrs
- License
- GPL (>= 2) OSI
- Additional repositories
- www.omegahat.net
- Minimum R
- ≥ 4.2.0
- Bundled data
- 83 KB / 20 files
- Download size
- 2.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("DescTools")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.