Hmisc v4.0-3

0

Monthly downloads

0th

Percentile

Harrell Miscellaneous

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

Readme

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

Functions in Hmisc

Name Description
Misc Miscellaneous Functions
HmiscOverview
Cs
Ecdf Empirical Cumulative Distribution Plot
GiniMd Gini's Mean Difference
Hmisc-internal Internal Hmisc functions
Save Faciliate Use of save and load to Remote Directories
abs.error.pred
aregImpute
biVar Bivariate Summaries Computed Separately by a Series of Predictors
binconf
bootkm
curveRep Representative Curves
cut2
approxExtrap Linear Extrapolation
areg Additive Regression with Optimal Transformations on Both Sides using
bpower
bpplot
consolidate Element Merging
contents Metadata for a Data Frame
bystats
capitalize capitalize the first letter of a string
discrete Discrete Vector tools
dotchart2
ciapower
cnvrt.coords Convert between the 5 different coordinate sytems on a graphical device
find.matches
first.word First Word in a String or Expression
colorFacet Miscellaneous ggplot2 and grid Helper Functions
ggfreqScatter Frequency Scatterplot
dotchart3 Enhanced Version of dotchart Function
dotchartpl Enhanced Version of dotchart Function for plotly
event.chart
event.convert
impute
inc-dec Increment and Decrement
mChoice Methods for Storing and Analyzing Multiple Choice Variables
makeNstr creates a string that is a repeat of a substring
gbayes
getHdata
knitrSet knitr Setup and plotly Service Function
labcurve Label Curves, Make Keys, and Interactively Draw Points and Curves
getRs Interact with github rscripts Project
getZip Open a Zip File From a URL.
latexDotchart Enhanced Dot Chart for LaTeX Picture Environment with epic
latexTabular Convert a Data Frame or Matrix to a LaTeX Tabular
Lag Lag a Numeric, Character, or Factor Vector
Merge Merge Multiple Data Frames or Data Tables
addMarginal Add Marginal Observations
all.is.numeric Check if All Elements in Character Vector are Numeric
deff
describe Concise Statistical Description of a Vector, Matrix, Data Frame,
errbar Plot Error Bars
cpower
csv.get Read Comma-Separated Text Data Files
data.frame.create.modify.check
dataRep
event.history Produces event.history graph for survival data
mhgr Miscellaneous Functions for Epidemiology
equalBins Multicolumn Formating
format.df
nstr Creates a string of arbitry length
num.intercepts Extract number of intercepts
pstamp Date/Time/Directory Stamp the Current Plot
rMultinom Generate Multinomial Random Variables with Varying Probabilities
latexTherm Create LaTeX Thermometers and Colored Needles
legendfunctions Legend Creation Functions
%nin%
nobsY Compute Number of Observations for Left Hand Side of Formula
ffCompress Transform Data Frame Into a Compact
histbackback
histboxp Use plotly to Draw Stratified Spike Histogram and Box Plot Statistics
panel.bpplot
plsmo
popower Power and Sample Size for Ordinal Response
rcspline.plot
rcspline.restate
format.pval Format P Values
hoeffd
html Convert an S object to HTML
minor.tick Minor Tick Marks
scat1d One-Dimensional Scatter Diagram, Spike Histogram, or Density
score.binary
somers2
spower
partition Patitions an object into different sets
print.char.list prints a list of lists in a visually readable format.
print.char.matrix Function to print a matrix with stacked cells
rcorr Matrix of Correlations and P-values
rcorr.cens
showPsfrag
simplifyDims List Simplification
stringDims String Dimentions
summaryM Summarize Mixed Data Types vs. Groups
summaryP Multi-way Summary of Proportions
transcan
translate
list.tree
mApply Apply a Function to Rows of a Matrix or Vector
reShape Reshape Matrices and Serial Data
redun Redundancy Analysis
sedit
show.pch Display Colors, Plotting Symbols, and Symbol Numeric Equivalents
escapeRegex Escapes any characters that would have special meaning in a reqular expression.
hdquantile Harrell-Davis Distribution-Free Quantile Estimator
hist.data.frame Histograms for Variables in a Data Frame
multLines Plot Multiple Lines
subplot Embed a new plot within an existing plot
t.test.cluster t-test for Clustered Data
tabulr Interface to Tabular Function
sas.get Convert a SAS Dataset to an S Data Frame
label
latex
mdb.get Read Tables in a Microsoft Access Database
upData
wtd.stats
xYplot xyplot and dotplot with Matrix Variables to Plot Error Bars and Bands
mtitle
na.detail.response
na.keep
mgp.axis Draw Axes With Side-Specific mgp Parameters
samplesize.bin
sasxport.get Enhanced Importing of SAS Transport Files using read.xport
stat_plsmo Add a lowess smoother without counfidence bands.
stata.get Enhanced Importing of STATA Files
summarize Summarize Scalars or Matrices by Cross-Classification
summary.formula Summarize Data for Making Tables and Plots
string.bounding.box Determine Dimensions of Strings
string.break.line Break a String into Many Lines at Newlines
trunc.POSIXt return the floor, ceiling, or rounded value of date or time to
na.delete
pc1 First Principal Component
plotCorrPrecision Plot Precision of Estimate of Pearson Correlation Coefficient
rcorrp.cens
units
xtfrm.labelled
xy.group
prnz
prselect Selectively Print Lines of a Text Vector
rlegend Special Version of legend for R
rm.boot
spss.get Enhanced Importing of SPSS Files
rcspline.eval
smean.sd
solvet
symbol.freq Graphic Representation of a Frequency Table
varclus
sys
upFirst Change First Letters to Upper Case
valueTags Store Discriptive Information About an Object
src Source a File from the Current Working Directory
summaryRc Graphical Summarization of Continuous Variables Against a Response
summaryS Summarize Multiple Response Variables and Make Multipanel Scatter
tex
transace
yearDays Get Number of Days in Year or Month
ynbind Combine Variables in a Matrix
No Results!

Last month downloads

Details

Date 2017-04-30
License GPL (>= 2)
LazyLoad Yes
URL http://biostat.mc.vanderbilt.edu/Hmisc, https://github.com/harrelfe/Hmisc
NeedsCompilation yes
Packaged 2017-05-01 18:00:23 UTC; harrelfe
Repository CRAN
Date/Publication 2017-05-02 06:31:42 UTC

Include our badge in your README

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