A few Useful Functions for Statisticians

Various useful functions for statisticians: describe data, plot Kaplan-Meier curves with numbers of subjects at risk, compare data sets, display spaghetti-plot, build multi-contingency tables...


packHV R package: A few Useful Functions for Statisticians

R package created in 2012 and freely available at https://CRAN.R-project.org/package=packHV

Installation from the CRAN

To install the packHV package from the CRAN, open a R session and run install.packages("packHV")

Installation from GitHub

To install the packHV package from GitHub, open a R session and:

  • install devtools with install.packages("devtools") (if not installed yet)
  • for Windows users only, install Rtools or check that it is already installed (needed to build the package)
  • run devtools::install_github("hvaret/packHV")

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("packHV")

2.4 by Hugo Varet, 2 years ago


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


Authors: Hugo Varet [aut, cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports stats, graphics, WriteXLS

Depends on survival


See at CRAN