Hi
On 23 Mar 2006 at 0:02, linda.s wrote:
Date sent: Thu, 23 Mar 2006 00:02:40 -0800
From: "linda.s" <samrobertsmith at gmail.com>
To: samrobertsmith at gmail.com
Copies to: R-help at stat.math.ethz.ch
Subject: [R] about histograms
> > x <- rnorm(1000)
> > hist(x)
> > hist(x,nclass=100)
>From help page
nclass numeric (integer). For S(-PLUS) compatibility only, nclass is
equivalent to breaks for a scalar or character argument.
breaks one of:
a vector giving the breakpoints between histogram cells,
a single number giving the number of cells for the histogram,
...
e.g. without breaks defined (or nclass) hist uses
hist(x, breaks = "Sturges", ...
I do not know details but number of breaks is definitely lower than
100.
HTH
Petr
> The two histograms look different and check the help file but still
> confused... sorry if it is too simple. Linda
>
> ______________________________________________
> R-help at 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
Petr Pikal
petr.pikal at precheza.cz