Menu

[TESTS] – Source code

0 Comment

Use-case 1 (Code in a <pre> tag)  ==> __TODO__

# seed X_0 = 0
X <- 0

# purely random process with mean 0 and standard deviation 1.5
Z <- rnorm(100, mean = 0.5, sd = 1.5)

# the process
for (i in 2:length(Z)){
  X[i] <- X[i-1] + Z[i]
}

# process plotting
ts.plot(X, main = "Random walk process")

Use-case 2 (Github.Gist)  ==> OK

(https://towardsdatascience.com/simple-method-of-creating-animated-graphs-127c11f58cc5)

Leave a Reply

Your email address will not be published. Required fields are marked *