# hh

From HH v3.1-25
0th

Percentile

##### Resolve filenames relative to the HH directory.

The pathnames in the HH package for all the datasets referenced in Heiberger and Holland (2004) are given relative to the options()$HH.ROOT.DIR directory. The pathnames for all the executable files in the online files accompanying Heiberger and Holland (2004) are given relative to the options()$HHfile.ROOT.DIR directory. The methodology described in this help page is DEFUNCT. It was designed for standalone files from the authors' website that matched the First Edition (2004) of their book and were used prior to the construction and distribution of the HH package from CRAN. Now the strongly recommended method is to use the HH package from CRAN for all examples from both the First Edition (2004) and the Second Edition (2015). See the Details section.

Keywords
utilities, environment
##### Usage
hh(file)     ## gives message about change in usage beginning with HH_2.3-17
hh.old(file) ## new name for function hh() prior to HH_2.3-17
hh.file(file)
hh.file.DOS(file, displayForCutAndPaste=TRUE)
file

##### Value

• Fully expanded, absolute pathname for the input filename. hh and hh.file use the separator convention of the file.path function. hh.file.DOS returns the pathname using the "\\" separator convention. When displayForCutAndPaste is TRUE, hh.file.DOS prints the full pathname with the "\" convention, so it can be picked up and pasted into an editor that uses the MS DOS convention for file paths.

##### References

Heiberger, Richard M. and Holland, Burt (2004b). Statistical Analysis and Data Display: An Intermediate Course with Examples in S-Plus, R, and SAS. Springer Texts in Statistics. Springer. ISBN 0-387-40270-5.

##### Aliases
• hh
• hh.old
• hh.file
• hh.file.DOS
• HH.ROOT.DIR
• HHfile.ROOT.DIR
##### Examples
## hotdog <- read.table(hh.old("datasets/hotdog.dat"), header=TRUE)
## This form of data input for files from the text has been replaced by
## the alternate form
##     data(hotdog)

## Define the HHfile.ROOT.DIR option first.
## Define
##   options(HHfile.ROOT.DIR="c:/HOME/hh")  ## value recommended in Appendix B
## before using the hh.file() functions.
hh.file("relativefilepath")
hh.file.DOS("relativefilepath")
hh.file.DOS("relativefilepath", displayForCutAndPaste=FALSE)
Documentation reproduced from package HH, version 3.1-25, License: GPL (>= 2)

### Community examples

Looks like there are no examples yet.