zufällige Ganzzahl in r
random_x <- sample(1:10, 1)
# or
random_10x = sample(-1:1, size = 10, replace = T)
Rocku0
random_x <- sample(1:10, 1)
# or
random_10x = sample(-1:1, size = 10, replace = T)