diff options
author | Adam <adam@adambard.com> | 2013-09-08 21:52:54 -0700 |
---|---|---|
committer | Adam <adam@adambard.com> | 2013-09-08 21:52:54 -0700 |
commit | 6172fee1a4a44d53648a26cd7764de9fcea46313 (patch) | |
tree | bfb1264276f5d60713e2f9a760672076115faf51 /r.html.markdown | |
parent | a933d419e07fd8af6effa89200b581e904c61679 (diff) | |
parent | 599ed0df3012ae578281dd92afc5a48891f56810 (diff) |
Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs
Diffstat (limited to 'r.html.markdown')
-rw-r--r-- | r.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/r.html.markdown b/r.html.markdown index 03aa1dd2..9c17e8ca 100644 --- a/r.html.markdown +++ b/r.html.markdown @@ -298,7 +298,7 @@ if (4 > 3) { # Defined like so: jiggle <- function(x) { - x+ rnorm(x, sd=.1) #add in a bit of (controlled) noise + x = x + rnorm(1, sd=.1) #add in a bit of (controlled) noise return(x) } |