Creating Simple Histogram?

image
I have a table like
...

It represents the height of both sexes. How can I create that histogram with a table like this?

I break my head all day trying to learn things. Also, my intervals are characters, not integers. I know this is not good.

Please post your data in a format that is easy to copy. You can do that with the dput() function. If your data frame is named DF, post the output of

dput(DF)

Place a line with three back ticks just before and after the pasted output, like this:
```
Pasted output goes here
```

Some examples: Histogram | the R Graph Gallery (r-graph-gallery.com)

ggplot2 histogram plot : Quick start guide - R software and data visualization - Easy Guides - Wiki - STHDA

If you have character data you probably would be better off with a barplot.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.