Histrogram for an assigment

I'm new here kindly can you guide me what is the codding for histrogram

A histogram displays the counts of a single variable. If the variable is continuous, the values are placed into bins, which are equal-interval ranges into which the data are divided.

hist(mtcars$mpg)

Created on 2023-11-20 with reprex v2.0.2

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.