Re: [R] Add function to histogram?

From: Vincent Goulet <>
Date: Thu 22 Sep 2005 - 07:10:55 EST

Le 20 Septembre 2005 09:53, Robert Lundqvist a écrit :
> Is there any neat way to add a curve (frequency function or the like) to a
> histogram or other plots? I haven't found one yet...

The one key thing here is not to forget "prob=TRUE" in the call to hist(), to ensure that the y-axis is scaled in proportions, not in frequencies.

  Vincent Goulet, Professeur agrégé
  École d'actuariat
  Université Laval, Québec

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Thu Sep 22 07:13:44 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:20 EST