[r/zh-cn] fix a bug (#2598)

* fix a bug

* translate comment & fix another bug
This commit is contained in:
Yusheng 2016-12-14 18:13:04 +08:00 committed by ven
parent a65150f706
commit 66e541e9e5

View File

@ -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)
}