The frequency histogram (frequency histogram) is also known as the frequency distribution histogram. A graph representing the frequency distribution in statistics. In a Cartesian coordinate system, the values of random variables are represented by the horizontal axis, and each small interval on the horizontal axis corresponds to the group spacing of a group, as the bottom edge of a small rectangle, the longitudinal axis represents the frequency (frequency/Group distance = frequency), and is used as a small rectangle with a set of small rectangles called the frequency histogram.
r Language example > x = C (. 4, 5, 2, 8, 3, 1, 4,. 25> cats = Cut (X,breaks=c (0,1,5,max (x))) # Group > Levels (CATS) = C ( " a ", " b ", " c " ) > table (cats > Barplot (Table (CATS)) # error, must be Numeric > hist (cats) > hist (x,probability=true) # density
Frequency histogram (hist)