楼主: cmwei333
4692 45

[书籍介绍] 【测试 R 代码】 Testing R Code (2016) by Cotton [推广有奖]

贵宾

已卖:205137份资源

泰斗

1%

还不是VIP/贵宾

-

TA的文库  其他...

【历史+心理学+社会自然科学】

【数学+统计+计算机编程】

【金融+经济+商学+国际政治】

威望
6
论坛币
3606787 个
通用积分
1127.2032
学术水平
4327 点
热心指数
4650 点
信用等级
3957 点
经验
363248 点
帖子
9795
精华
9
在线时间
2842 小时
注册时间
2015-2-9
最后登录
2017-1-29

初级热心勋章 中级热心勋章 高级热心勋章 初级信用勋章 中级信用勋章 初级学术勋章 特级热心勋章 中级学术勋章 高级信用勋章 高级学术勋章 特级学术勋章 特级信用勋章

楼主
cmwei333 发表于 2017-1-16 08:36:52 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
Testing R Code

Richard Cotton

cover.jpg

Learn how to write R code with fewer bugs.

The problem with programming is that you are always one typo away from writing something silly. Likewise with data analysis, a small mistake in your model can lead to a big mistake in your results. Combining the two disciplines means that it is all too easy for a missed minus sign to generate a false prediction that you don’t spot until it’s too late. Testing is the only way to be sure that your code, and your results, are correct.

Testing R Code teaches you how to perform development-time testing using the testthat package, allowing you to ensure that your code works as intended. The book also teaches run-time testing using the assertive package; enabling your users to correctly run your code.

After beginning with an introduction to testing in R, the book explores more advanced cases such as integrating tests into R packages; testing code that accesses databases; testing C++ code with Rcpp; and testing graphics. Each topic is explained with real-world examples, and has accompanying exercises for readers to practise their skills — only a small amount of experience with R is needed to get started!



  如果你喜欢我分享的书籍,请关注我:
https://bbs.pinggu.org/z_guanzhu.php?action=add&fuid=5975757

订阅我的文库:

【金融 + 经济 + 商学 + 国际政治】
https://bbs.pinggu.org/forum.php?mod=collection&action=view&ctid=3257

【数学 + 统计 + 计算机编程】
https://bbs.pinggu.org/forum.php?mod=collection&action=view&ctid=3258

【历史 + 心理学 + 社会自然科学】
https://bbs.pinggu.org/forum.php?mod=collection&action=view&ctid=3259



二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:TESTING Cotton code test COT prediction something generate mistake problem

本帖被以下文库推荐

bbs.pinggu.org/forum.php?mod=collection&action=view&ctid=3257
bbs.pinggu.org/forum.php?mod=collection&action=view&ctid=3258
bbs.pinggu.org/forum.php?mod=collection&action=view&ctid=3259

沙发
cheetahfly 在职认证  发表于 2017-1-16 08:48:23
看看,看看

藤椅
ekscheng 发表于 2017-1-16 09:11:28

板凳
suzhzh 发表于 2017-1-16 11:09:18
Thanks

报纸
李靖阳 发表于 2017-1-16 11:28:53
谢谢楼主

地板
fengyg 企业认证  发表于 2017-1-16 11:59:06
kankan

7
hxchengtj 发表于 2017-1-16 12:39:05
很好的教材

8
hlw 在职认证  发表于 2017-1-16 15:57:15

9
hui72 发表于 2017-1-16 16:36:32
kankan

10
jgchen1966 发表于 2017-1-16 17:23:16

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-9 06:35