Hmisc v2.0-0


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, recoding variables, and bootstrap repeated measures analysis.

Functions in Hmisc

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

Last month downloads


Include our badge in your README