title: Simulate data from lognormal in R
body: <p>Suppose I want to simulate 10 observations from lognormal distribution and repeat this 100 times. I wrote some R code, but for some reason it's not working. Here is the code:</p>
  
  <pre><code>for(i in 1:100) 
   {
  
  x = rlnorm(10, meanlog = 0, sdlog = 1)
  
   }
  </code></pre>
  
  <p>Any thoughts?</p>