1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-16 19:54:38 +02:00

Merge pull request #314 from tomhebbron/patch-1

Update r.html.markdown
This commit is contained in:
Adam Bard
2013-09-08 21:45:48 -07:00

View File

@@ -298,7 +298,7 @@ if (4 > 3) {
# Defined like so: # Defined like so:
jiggle <- function(x) { 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) return(x)
} }