With Both Hands
  • Home
  • About
  • Reading Log
  • The Long View
  • Spengler's Future
Sign in Subscribe

R Tips

R Tip: Making a random distribution and then exporting it

I had a need for a text file with a random normal distribution in it today, so I looked around and found this tip from Paul Johnson's R page. table = rnorm(40, .1, .01) # assigns a random normal with 40 elements with mean .1 and SD .01 to table write.
Benjamin Espen Jul 21, 2009

Subscribe to With Both Hands

Vampires! Oswald Spengler! Spelling Reform! Watch out.
  • Sign up
Copyright © 2023 With Both Hands Publishing, LLC, Copyright © 2009 - 2023, Benjamin I. Espen. All rights reserved. Blog content from The Long View Copyright © 1996 - 2012 John J. Reilly.