On 21 Jun 2004 at 6:01, Silvia Kirkman wrote:

> Hi
> 
> I have a set of fish lengths (cm) which I'd like to
> have divided into bins as specified by myself. I want
> to classify my bins as:
> 
> 0<=x<0.5
> 0.5<=x<1
> 1<=x<1.5
> 1.5<=x<2
> and so on...

Hallo

?cut and ?table should be what you are looking for

Cheers
Petr



> 
> I'd like the frequencies to be given as a vector
> because I need to use these values for further
> analysis.
> 
> Please can someone help me with this. I can't find a
> command in R that allows one to do this.
> 
> Many thanks.
> 
> Silvia Kirkman
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html

Petr Pikal
[EMAIL PROTECTED]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to