Hmisc v2.0-3


Monthly downloads



Harrell Miscellaneous

The Hmisc library contains many functions useful for data analysis, high-level graphics, utility operations, functions for computing sample size and power, importing datasets, imputing missing values, advanced table making, variable clustering, character string manipulation, conversion of S objects to LaTeX code, and recoding variables.

Functions in Hmisc

Name Description
na.detail.response Detailed Response Variable Information
prnz Print and Object with its Name
Misc Miscellaneous Functions
cpower Power of Cox/log-rank Two-Sample Test
na.delete Row-wise Deletion na.action
rcorr Matrix of Correlations and Generalized Spearman Rank Correlation
Lag Lag a Numeric, Character, or Factor Vector
rcorrp.cens Rank Correlation for Paired Predictors with a Censored Response
getHdata Download and Install Datasets for Hmisc, Design, and Statistical Modeling
sedit Character String Editing and Miscellaneous Character Handling Functions
gbayes Gaussian Bayesian Posterior and Predictive Distributions
solvet solve Function with tol argument
bpower Power and Sample Size for Two-Sample Binomial Test
score.binary Score a Series of Binary Variables
eip Edit In Place
bootkm Bootstrap Kaplan-Meier Estimates
label Label Attribute of an Object
ps.slide Postscript and Adobe PDF Setup for 35mm Slides and Other Formats Histograms for Variables in a Data Frame
plotCorrPrecision Plot Precision of Estimate of Pearson Correlation Coefficient
varclus Variable Clustering
Overview Overview of Hmisc Library
panel.bpplot Box-Percentile Panel Function for Trellis
cut2 Cut a Numeric Variable into Intervals
rcspline.eval Restricted Cubic Spline Design Matrix
ecdf Empirical Cumulative Distribution Plot
sasxport.get Enhanced Importing of SAS Transport Files using read.xport
summarize Summarize Scalars or Matrices by Cross-Classification
translate Translate Vector or Matrix of Text Strings
binconf Confidence Intervals for Binomial Probabilities
t.test.cluster t-test for Clustered Data
somers2 Somers' Dxy Rank Correlation
Cs Character strings from unquoted names
data.frame.create.modify.check Tips for Creating, Modifying, and Checking Data Frames
approxExtrap Linear Extrapolation
dataRep Representativeness of Observations in a Data Set
deff Design Effect and Intra-cluster Correlation
describe Concise Statistical Description of a Vector, Matrix, Data Frame, or Formula
rcorr.cens Rank Correlation for Censored Data
sas.get Convert a SAS Dataset to an S Data Frame
histbackback Back to Back Histograms
rcspline.plot Plot Restricted Cubic Spline Function
reorder.factor Reorder Factor Levels
aregImpute Multiple Imputation using Additive Regression, Bootstrapping, and Predictive Mean Matching
format.df Format a Data Frame or Matrix for LaTeX or HTML
first.word First Word in a String or Expression
contents Metadata for a Data Frame
reShape Reshape Matrices and Serial Data Compute Summary Statistics on a Vector
hoeffd Matrix of Hoeffding's D Statistics
units Units Attribute of a Vector
ciapower Power of Interaction Test for Exponential Survival
hdquantile Harrell-Davis Distribution-Free Quantile Estimator
find.matches Find Close Matches
event.chart Flexible Event Chart for Time-to-Event Data
mgp.axis Draw Axes With Side-Specific mgp Parameters
list.tree Pretty-print the Structure of a Data Object
samplesize.bin Sample Size for 2-sample Binomial
summary.formula Summarize Data for Making Tables and Plots
src Source a File from the Current Working Directory
bystats Statistics by Categories
na.keep Do-nothing na.action
wtd.mean Weighted Statistical Estimates
symbol.freq Graphic Representation of a Frequency Table
minor.tick Minor Tick Marks
.in. Find Matching (or Non-Matching) Elements
Hmisc-internal Internal Hmisc functions
rm.boot Bootstrap Repeated Measurements Model
abs.error.pred Indexes of Absolute Prediction Error for Linear Models
interaction Compute the Interaction of Several Factors
show.pch Display Colors, Plotting Symbols, and Symbol Numeric Equivalents
print.char.matrix Function to print a matrix with stacked cells
event.history Produces event.history graph for survival data Mean x vs. function of y in groups of x
impute Generic Functions and Methods for Imputation
html Convert an S object to HTML
transace Additive Regression and Transformations using ace or avas
store Store an Object Permanently
pc1 First Principal Component
rMultinom Generate Multinomial Random Variables with Varying Probabilities
upData Update a Data Frame or Cleanup a Data Frame after Importing
spower Simulate Power of 2-Sample Test for Survival under Complex Conditions
spss.get Enhanced Importing of SPSS Files
errbar Plot Error Bars
labcurve Label Curves, Make Keys, and Interactively Draw Points and Curves
ldBands Group Sequential Boundaries using the Lan-DeMets Approach
popower Power and Sample Size for Ordinal Response
rlegend Special Version of legend for R Check if All Elements in Character Vector are Numeric
mtitle Margin Titles
dotchart2 Enhanced Dot Chart
rcspline.restate Re-state Restricted Cubic Spline Function
scat1d One-Dimensional Scatter Diagram, Spike Histogram, or Density
pstamp Date/Time/Directory Stamp the Current Plot
plsmo Plot smoothed estimates
bpplot Box-percentile plots
latex Convert an S object to LaTeX, and Related Utilities
sys Run Unix or Dos Depending on System
transcan Transformations/Imputations using Canonical Variates
xYplot xyplot and dotplot with Matrix Variables to Plot Error Bars and Bands
No Results!

Last month downloads


Include our badge in your README