How to realize the normal density Curve of R language
This article mainly introduces "how to realize the normal density curve of R language". In the daily operation, I believe that many people have doubts about how to realize the normal density curve of R language. The editor consulted all kinds of data and sorted out the simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubt of "how to realize the normal density curve of R language"! Next, please follow the editor to study!
Themes:
Practice R language random number, generate normal distribution data, make histogram with normal density curve, and make normal test QQ diagram.
Completion:
The R language code and results are as follows:
Generate random numbers with normal distribution
Set.seed (1234) x