a = 100
v3=runif(100)
ggplot(data.frame(v3), aes(x = v3))+geom_density()
a=100 a=1000
a=10000 a=100000
越多的采样点得到的分布越接近均匀分布,其他分布采样也是一样
a = 100
v3=runif(100)
ggplot(data.frame(v3), aes(x = v3))+geom_density()
a=100 a=1000
a=10000 a=100000
越多的采样点得到的分布越接近均匀分布,其他分布采样也是一样
转载于:https://www.cnblogs.com/chaseskyline/p/3780345.html