R语言
endword110
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
正态分布-R语言
dnorm(x, mean = 0, sd = 1, log = FALSE)pnorm(q, mean = 0, sd = 1, lower.tail = TRUE, log.p = FALSE)qnorm(p, mean = 0, sd = 1, lower.tail = TRUE, log.p = FALSE)rnorm(n, mean = 0, sd = 1)//-----原创 2017-11-29 22:06:53 · 16326 阅读 · 0 评论 -
离散均匀先验——R语言代码段
Introduction to Bayes using Discrete PriorsJim AlbertMay 28, 2014Learning About a ProportionA Discrete PriorConsider a population of “successes” and “failures” where the proportion of suc-cesses is p....原创 2018-03-13 13:56:03 · 713 阅读 · 0 评论 -
tapply函数--R语言
> attach(mtcars)> tapply(mpg,cyl,mean) 4 6 8 26.66364 19.74286 15.10000 由:> table(cyl)cyl 4 6 8 11 7 14 可以看出,tapple是以mpg按cyl来应用mean函数具体> mean(mpg[cyl==4])[1] 26.6636...原创 2018-03-28 08:03:16 · 16806 阅读 · 0 评论
分享