From 66e541e9e55d89d705319c2cf0c01e6319be817b Mon Sep 17 00:00:00 2001 From: Yusheng Date: Wed, 14 Dec 2016 18:13:04 +0800 Subject: [r/zh-cn] fix a bug (#2598) * fix a bug * translate comment & fix another bug --- zh-cn/r-cn.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zh-cn') 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) } -- cgit v1.2.3