[R] Odp: Problem in Binning of a data set

From: Petr PIKAL <petr.pikal_at_precheza.cz>
Date: Wed, 18 Jun 2008 14:04:14 +0200

Hi

Well. I am a bit lost in your bins. If I understand correctly you shall have some factor with bin values

bin.f <- cut(some data, levels)

then you can split your data according to values of bin.f

split(complete data, bin.f)

If this does not solve your problem just throw it to some other bin :-)

Regards
Petr

r-help-bounces_at_r-project.org napsal dne 18.06.2008 08:04:50:

> Hello,
>
> I am having problem with binning the data. I have a 50X3 matrix and I
binned
> the data for all the 3 columns. Using table command I got the total no.
of
> elements in a particular bin.
> Could you please tell me how to see that what all elements are there in
a
> particular bin and then create a different matrix for each bin?
>
> Thanks.
>
> Regards,
> Sumit
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 18 Jun 2008 - 13:07:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 18 Jun 2008 - 13:30:59 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive