summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-09-08 21:45:48 -0700
committerAdam Bard <github@adambard.com>2013-09-08 21:45:48 -0700
commit67becff14653680c767f343448bebaeaab58e6a5 (patch)
tree41372753494c5a48ab79ab675f145c4c374ab8e0
parent6e1c0b7b7c5bac8323f82de1e673ac863185a681 (diff)
parent358f357a46f2a6c72014a9d7e5e5d6d46c4924df (diff)
Merge pull request #314 from tomhebbron/patch-1
Update r.html.markdown
-rw-r--r--r.html.markdown2
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)
}