mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
[r/zh-cn] fix a bug (#2598)
* fix a bug * translate comment & fix another bug
This commit is contained in:
parent
a65150f706
commit
66e541e9e5
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user