# Hmisc v3.0-10

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,
and recoding variables.

## Functions in Hmisc

Name | Description | |

Save | Faciliate Use of save and load to Remote Directories | |

Lag | Lag a Numeric, Character, or Factor Vector | |

Misc | Miscellaneous Functions | |

cpower | Power of Cox/log-rank Two-Sample Test | |

all.is.numeric | Check if All Elements in Character Vector are Numeric | |

html | Convert an S object to HTML | |

bpower | Power and Sample Size for Two-Sample Binomial Test | |

rcspline.plot | Plot Restricted Cubic Spline Function | |

Overview | Overview of Hmisc Library | |

dataRep | Representativeness of Observations in a Data Set | |

ldBands | Group Sequential Boundaries using the Lan-DeMets Approach | |

abs.error.pred | Indexes of Absolute Prediction Error for Linear Models | |

panel.bpplot | Box-Percentile Panel Function for Trellis | |

dropUnusedLevels | Create Temporary Factor Subsetting Function | |

label | Label Attribute of an Object | |

event.chart | Flexible Event Chart for Time-to-Event Data | |

latex | Convert an S object to LaTeX, and Related Utilities | |

popower | Power and Sample Size for Ordinal Response | |

rMultinom | Generate Multinomial Random Variables with Varying Probabilities | |

histbackback | Back to Back Histograms | |

deff | Design Effect and Intra-cluster Correlation | |

impute | Generic Functions and Methods for Imputation | |

getHdata | Download and Install Datasets for Hmisc, Design, and Statistical Modeling | |

rcspline.eval | Restricted Cubic Spline Design Matrix | |

rm.boot | Bootstrap Repeated Measurements Model | |

mApply | Apply a Function to Rows of a Matrix or Vector | |

errbar | Plot Error Bars | |

show.pch | Display Colors, Plotting Symbols, and Symbol Numeric Equivalents | |

reorder.factor | Reorder Factor Levels | |

rcorr.cens | Rank Correlation for Censored Data | |

print.char.matrix | Function to print a matrix with stacked cells | |

find.matches | Find Close Matches | |

rcorrp.cens | Rank Correlation for Paired Predictors with a Censored Response | |

sedit | Character String Editing and Miscellaneous Character Handling Functions | |

ps.slide | Postscript and Adobe PDF Setup for 35mm Slides and Other Formats | |

aregImpute | Multiple Imputation using Additive Regression, Bootstrapping, and Predictive Mean Matching | |

symbol.freq | Graphic Representation of a Frequency Table | |

spower | Simulate Power of 2-Sample Test for Survival under Complex Conditions | |

pc1 | First Principal Component | |

na.detail.response | Detailed Response Variable Information | |

dotchart2 | Enhanced Dot Chart | |

prnz | Print and Object with its Name | |

approxExtrap | Linear Extrapolation | |

sys | Run Unix or Dos Depending on System | |

score.binary | Score a Series of Binary Variables | |

mgp.axis | Draw Axes With Side-Specific mgp Parameters | |

t.test.cluster | t-test for Clustered Data | |

src | Source a File from the Current Working Directory | |

mtitle | Margin Titles | |

samplesize.bin | Sample Size for 2-sample Binomial | |

contents | Metadata for a Data Frame | |

ecdf | Empirical Cumulative Distribution Plot | |

transace | Additive Regression and Transformations using ace or avas | |

sasxport.get | Enhanced Importing of SAS Transport Files using read.xport | |

somers2 | Somers' Dxy Rank Correlation | |

cnvrt.coords | Convert between the 4 different coordinate sytems on a graphical device | |

summary.formula | Summarize Data for Making Tables and Plots | |

labcurve | Label Curves, Make Keys, and Interactively Draw Points and Curves | |

hdquantile | Harrell-Davis Distribution-Free Quantile Estimator | |

smean.sd | Compute Summary Statistics on a Vector | |

hoeffd | Matrix of Hoeffding's D Statistics | |

minor.tick | Minor Tick Marks | |

translate | Translate Vector or Matrix of Text Strings | |

csv.get | Read Comma-Separated Text Data Files | |

pstamp | Date/Time/Directory Stamp the Current Plot | |

na.keep | Do-nothing na.action | |

na.delete | Row-wise Deletion na.action | |

stata.get | Enhanced Importing of STATA Files | |

plotCorrPrecision | Plot Precision of Estimate of Pearson Correlation Coefficient | |

sas.get | Convert a SAS Dataset to an S Data Frame | |

Cs | Character strings from unquoted names | |

cut2 | Cut a Numeric Variable into Intervals | |

format.df | Format a Data Frame or Matrix for LaTeX or HTML | |

varclus | Variable Clustering | |

describe | Concise Statistical Description of a Vector, Matrix, Data Frame, or Formula | |

data.frame.create.modify.check | Tips for Creating, Modifying, and Checking Data Frames | |

spss.get | Enhanced Importing of SPSS Files | |

rlegend | Special Version of legend for R | |

upData | Update a Data Frame or Cleanup a Data Frame after Importing | |

list.tree | Pretty-print the Structure of a Data Object | |

wtd.mean | Weighted Statistical Estimates | |

plsmo | Plot smoothed estimates | |

%nin% | Find Matching (or Non-Matching) Elements | |

bpplot | Box-percentile plots | |

bootkm | Bootstrap Kaplan-Meier Estimates | |

gbayes | Gaussian Bayesian Posterior and Predictive Distributions | |

event.history | Produces event.history graph for survival data | |

first.word | First Word in a String or Expression | |

subplot | Embed a new plot within an existing plot | |

Hmisc-internal | Internal Hmisc functions | |

binconf | Confidence Intervals for Binomial Probabilities | |

xy.group | Mean x vs. function of y in groups of x | |

rcspline.restate | Re-state Restricted Cubic Spline Function | |

scat1d | One-Dimensional Scatter Diagram, Spike Histogram, or Density | |

transcan | Transformations/Imputations using Canonical Variates | |

xYplot | xyplot and dotplot with Matrix Variables to Plot Error Bars and Bands | |

reShape | Reshape Matrices and Serial Data | |

bystats | Statistics by Categories | |

ciapower | Power of Interaction Test for Exponential Survival | |

eip | Edit In Place | |

hist.data.frame | Histograms for Variables in a Data Frame | |

rcorr | Matrix of Correlations and Generalized Spearman Rank Correlation | |

store | Store an Object Permanently | |

solvet | solve Function with tol argument | |

summarize | Summarize Scalars or Matrices by Cross-Classification | |

units | Units Attribute of a Vector | |

No Results! |

## Last month downloads

## Details

Date | 2006-01-11 |

License | GPL version 2 or newer |

URL | http://biostat.mc.vanderbilt.edu/s/Hmisc, http://biostat.mc.vanderbilt.edu/twiki/pub/Main/RS/sintro.pdf, http://biostat.mc.vanderbilt.edu/twiki/pub/Main/StatReport/summary.pdf |

Packaged | Wed Jan 11 08:13:03 2006; dupontct |

suggests | acepack , chron , foreign , grid , lattice , nnet , survival |

depends | base (>= 2.2.0) , R (>= 2.2.0) |

Contributors | Frank E Harrell Jr |

#### Include our badge in your README

```
[![Rdoc](http://www.rdocumentation.org/badges/version/Hmisc)](http://www.rdocumentation.org/packages/Hmisc)
```