mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-13 18:24:39 +02:00
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user