这里写图片描述

rm(list=ls())
gc()
set.seed(1234)
score <- rnorm(n = 1000, m = 80, sd = 20)
hist(score, 
     freq=FALSE, 
     xlab="Score", 
     main="Distribution of score", 
     col="lightgreen", 
     xlim=c(0,150), 
     ylim=c(0, 0.02))
curve(dnorm(x, 
            mean=mean(score), 
            sd=sd(score)), 
      add=TRUE, 
      col="darkblue", 
      lwd=2)
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐