Hi,

I have a dataset like this:

Species                length (cm)

A             12.4

B             45

A             34.6

C             73

C             24.5

D             4.5

.            .

I'm trying to obtain a barplot with the class length in x (fixed classes, 5
cm) and the number of species in y, but using just a barplot is not the case
(I think).

So, maybe the best way is to first obtain a frequency table and then to plot
the graph, but I managed only to obtain a frequency table with 5 cm of class
length but the frequency are the numbers of individuals by class and this is
not what I need. Do you know how I can do? 

Thank you in advance.

Paola

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to