[R] Odp: Problem in Binning of a data set
petr.pikal at precheza.cz
Wed Jun 18 14:04:14 CEST 2008
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 :-)
r-help-bounces at r-project.org napsal dne 18.06.2008 08:04:50:
> I am having problem with binning the data. I have a 50X3 matrix and I
> the data for all the 3 columns. Using table command I got the total no.
> elements in a particular bin.
> Could you please tell me how to see that what all elements are there in
> particular bin and then create a different matrix for each bin?
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help