Frequency histogram (hist)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.