Re: [R] how to plot a fitted smooth line on histograms?

From: Wuming Gong <wuming.gong_at_gmail.com>
Date: Sun 22 May 2005 - 23:14:31 EST

You may check the chapter 8 Probability distributions in An Introduction to R.

Wuming

On 5/22/05, Hu Chen <chencheva@gmail.com> wrote:
> for example,
> >x <- read.table(....); here x is a vector containing my data to be analyzed.
> >hist(x,plot=TRUE,breaks=200)
>
> then I got a histogram graph. However, How can't get a smooth curve
> based on the histogram cells to show out the outline?
>
> Thanks very much.
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun May 22 23:23:14 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:59 EST