Harrell Miscellaneous

Contains many functions useful for data analysis, high-level graphics, utility operations, functions for computing sample size and power, simulation, importing and annotating datasets, imputing missing values, advanced table making, variable clustering, character string manipulation, conversion of R objects to Typst, LaTeX, and html code, recoding variables, caching, simplified parallel computing, encrypting and decrypting data using a safe workflow, general moving window statistical estimation, and assistance in interpreting principal component analysis.


Hmisc

Harrell Miscellaneous

Current Goals

Web Sites

To Do

  • Consider using the haven package for importing SAS, Stata, and SPSS files; haven stores labels as the label attribute of each variable as does Hmisc; it converts date and time variables automatically and allows one to specify a format catalog along with the primary dataset
  • See if the readstata13 package has advantages over the foreign package for Stata file import
  • Consider creating xl.get using the readxl package to read .xls and .xlsx Excel files
  • In impute.transcan, sense if a variable in data is not a factor whereas it was treated as a factor during aregImpute; it should be converted to factor before the line v[sub] <- ... levels(as.integer...)) is run

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("Hmisc")

5.3-0 by Frank E Harrell Jr, a month ago


https://hbiostat.org/R/Hmisc/


Browse source code at https://github.com/cran/Hmisc


Authors: Frank E Harrell Jr [aut, cre] (ORCID: , Cole Beck [ctb] , Charles Dupont [ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports methods, ggplot2, cluster, rpart, nnet, foreign, gtable, grid, gridExtra, data.table, htmlTable, viridisLite, htmltools, base64enc, colorspace, rmarkdown, knitr, Formula

Suggests survival, qreport, acepack, chron, rms, mice, rstudioapi, tables, plotly, rlang, VGAM, leaps, pcaPP, digest, parallel, polspline, abind, kableExtra, rio, lattice, latticeExtra, gt, sparkline, jsonlite, htmlwidgets, qs2, getPass, keyring, safer, htm2txt, boot


Imported by AMISforInfectiousDiseases, AutoScore, BBC, BRCore, BRINDA, BlanketStatsments, CAinterprTools, CFAcoop, CalibrationCurves, CoNI, Compind, Counterfactual, CsChange, DAMOCLES, DIZutils, DTAT, DeepLearningCausal, EBMAforecast, EpiForsk, FRK, GEInter, GenMarkov, GenTwoArmsTrialSize, Gmisc, Greg, HH, HistogramTools, HuraultMisc, IIS, JMbayes, LDAcoop, LEGIT, LPBkg, LSAmitR, LorMe, MRPC, MXM, MatchLinReg, Mqrcm, MultBiplotR, MultiTraits, NSM3, NetOrigin, NetSurvProx, NeuralSens, PSW, Path.Analysis, PerFit, PredictABEL, ProAE, QHScrnomo, RALSA, RCLabels, RCPA3, RDS, RPPanalyzer, RQdeltaCT, RcmdrMisc, RcmdrPlugin.TeachStat, RefBasedMI, RegCombin, Rtrack, SAFEMCN, SECFISH, SHELF, SLEMI, STDistance, SuperCell, SvyNom, TopKLists, TransProR, WGCNA, WRSS, WaverideR, accessibility, adventr, affinitymatrix, ammiBayes, atable, bakR, basecamb, basifoR, bcf, boiwsa, bumblebee, calibmsm, catfun, choroplethr, clinpubr, conmet, corrtable, cosinor2, cpmBigData, cpsurvsim, csmpv, datana, datazoom.saude, dcortools, ddecompose, diffwrap, easyr, eatRep, ecospat, epade, etable, fcfdr, fdapace, fdarep, fitPS, gfoRmulaICE, ggquickeda, goeveg, gomp, grafify, grapesAgri1, growthPheno, hdpGLM, heuristica, iCAMP, iCellR, iPRISM, iarm, imageData, inDAGO, intsvy, jmv, jsmodule, kdry, kehra, kernelPhil, lfproQC, linreg, mFD, mapStats, mediation, metalabr, metamedian, mgm, microplot, multiselect, nbpMatching, ncmR, ndi, ndl, netdose, newmark, nlrr, nonparaeff, panelWranglR, pcgen, peRiodiCS, petersenlab, pguIMP, pintervals, plotluck, pmcalibration, poliscidata, polyqtlR, popstudy, powertools, predieval, qgraph, rADA, rags2ridges, randomGLM, rankdifferencetest, raptools, recalibratiNN, repfun, rifreg, riskPredictClustData, riskRegression, rmsb, sampcompR, scape, sendigR, sfcentral, smacof, smicd, smplot2, soilassessment, stabiliser, strat, stratamatch, summarySCI, survivalsvm, tidyplots, tigerhitteR, tinyarray, tost.suite, univOutl, vachette, viscomp, visualFields, walker, weights, wppExplorer, xgxr, xkcd, xpose4.

Depended on by EstCRM, FRESA.CAD, ImportExport, LifeHist, RHMS, RM.weights, RcmdrPlugin.Export, UsingR, abctools, acid, alternativeROC, anesrake, aspace, cg, colorscience, funModeling, greport, monobin, nlmeVPC, pch, poolVIM, qreport, rms, separationplot, testforDEP.

Suggested by BB, BioStatR, ClustImpute, CohortCharacteristics, Deducer, EnvStats, GALLO, GGally, GMCM, HVT, IOBR, IncidencePrevalence, MARSS, MBNMAtime, MachineShop, MetaNet, PatientProfiles, PerformanceAnalytics, PopED, REDCapCAST, Rcmdr, Rmisc, Sleuth3, SongEvo, StatMatch, abd, animint2, aqp, ascii, bbmle, bfp, bigsnpr, biomod2, brainGraph, broom, bsitar, causalCmprsk, causaldrf, colleyRstats, correlation, crosstable, discSurv, dlookr, dynConfiR, ecotox, fastR2, finalfit, fitdistrplus, foresty, free1way.docreg, gfoRmula, gggda, ggplot2, ggstance, ggsurveillance, htmlTable, hubeau, hutils, influential, irboost, kyotil, labelVector, languageR, lulcc, matsbyname, matsindf, milr, mlr, mlrCPO, moderncor, mpactr, nLTT, naniar, nbTransmission, nhanesR, ordbetareg, pCODE, parameters, pctax, pec, performance, plotor, pminternal, polymapR, presize, pwlmm, questionr, rattle, ready4, redcapAPI, rex, riskutility, rmsMD, robscale, rockchalk, runMCMCbtadjust, serodynamics, serrsBayes, sharpshootR, simcausal, simsalapar, subsemble, table1, tables, tangram, tidystats, vcdExtra, wdm.

Enhanced by BIFIEsurvey, dendextend, robustbase, sfsmisc.


See at CRAN