[R] binning data

Rolf Turner r.turner at auckland.ac.nz
Mon Jan 14 20:38:16 CET 2008


On 15/01/2008, at 5:13 AM, Robert Terwilliger wrote:

> I would like to 'bin' a vector of of values (>100000 values) in much
> the same way as 'hist' does for plotting, but I just want a result
> with the bins and the frequencies.
>
> Is there a 'quick and dirty' (built-in) way to do this, or do I need
> to write some code?

?hist

(Hint:  Look at ``Value''.  Also look at the ``plot'' argument.)

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}




More information about the R-help mailing list