![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
R语言
Ash_Zhang
Python爱好者,终生学习者,
展开
-
[R语言]总体概率的区间估计学习
总体概率的区间估计没有总体均值的区间估计常用,但是用途也不小,在科研论文中,经常会使用该区间报告p值的意义,所以将做法记录如下:First,remember that an interval for a proportion is given by:p_hat +/- z * sqrt(p_hat * (1-p_hat)/n)With that being said, we can use R t...原创 2017-06-25 13:07:13 · 2967 阅读 · 0 评论 -
[R语言]求出两个日期之间的工作日天数
由于现在百度上还不能够搜到相关的算法及包,所以开发了一个函数如下,欢迎直接拿去用,当然如果有更好的算法也欢迎和我交流。workdays<-function(start,end){Author<-"ash_zhang if (start i<-start; j<-0; while (i if (weekdays(i) %in% c("星期六","原创 2018-01-03 19:21:25 · 3510 阅读 · 2 评论