diff options
author | Yusheng <sniky.hack@gmail.com> | 2016-12-14 18:13:04 +0800 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2016-12-14 11:13:04 +0100 |
commit | 66e541e9e55d89d705319c2cf0c01e6319be817b (patch) | |
tree | 10b5d89d3edd6e97ae825f0a817a98501121ef40 /zh-cn | |
parent | a65150f706a599dcee2ed2e7107241e847cbaf2c (diff) |
[r/zh-cn] fix a bug (#2598)
* fix a bug
* translate comment & fix another bug
Diffstat (limited to 'zh-cn')
-rw-r--r-- | zh-cn/r-cn.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/r-cn.html.markdown b/zh-cn/r-cn.html.markdown index 55a29b11..d576db29 100644 --- a/zh-cn/r-cn.html.markdown +++ b/zh-cn/r-cn.html.markdown @@ -303,7 +303,7 @@ if (4 > 3) { # 定义如下 jiggle <- function(x) { - x + rnorm(x, sd=.1) #add in a bit of (controlled) noise + x = x + rnorm(1, sd=.1) # 添加一点(正态)波动 return(x) } |