Re: [R] where is "average shifted histogram"?

From: Peter Dalgaard <>
Date: Thu 29 Jul 2004 - 16:02:54 EST

Eckart Bindewald <> writes:

> Hello!
> In the book Modern Applied Statistics with S (4th ed),
> section 5.6 the concept of the "average shifted
> histogram" or ASH is mentionend. Also it is mentioned
> in the same section "The code used is in the scripts
> for this chapter" (from figure caption 5.8, analysis
> of the geyser duration data).
> *However*, I have trouble finding the code for that
> function! Admittedly, I am a newby to R. Where exactly
> do I find the scripts to that chapter? Commands like
> library(MASS), or"average shifted

> histogram") did not help.

The scripts are in simple files installed with the package. So you need to go to the install directory and read them from there. A canonical way of finding it from within R is


That being said, I couldn't off-hand spot anything ASH-like in the file. This might either be a difference between the R and S versions, or just that the remark in the figure caption does not spefically relate to ASH (haven't got the book at hand just now).

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (             FAX: (+45) 35327907

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Thu Jul 29 16:12:09 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:41:14 EST