Random number generation. Or, early R scripting revisited.

Once upon a time I figured out how to generate a random variable. (OK, it was mid-2016.) This is the two line story of that discovery.

x = ts(rnorm(50)) 
plot(x,main="White noise") 
xx = qplot(seq_along(x), x) 
ggsave(xx,file="/Users/chriseshleman/Dropbox/pages/chriseshleman.github.io/images/Random_points.png", width=8,height=5) 
## Don't know how to automatically pick scale for object of type ts. Defaulting to continuous.

Random dots.

Written on January 16, 2018