title: Inverse of the lognormal distribution
body: <p>I need to find the inverse of a given lognormal distribution.
  Since there is no inbuilt function in R for inverse lognormal, I need to design my own.</p>
  
  <p>I have this lognormal distribution for a random variable 'x'</p>
  
  <pre><code> f_lambda &lt;- function(x,mu,sig) {dlnorm(x, meanlog = mu, sdlog = sig,log=FALSE)}
  </code></pre>
  
  <p>On wikipedia it says</p>
  
  <pre><code> G(y) = 1- F(1/y)
  </code></pre>
  
  <p>where G(Y)n is the inverse distribution to F(X) and X= 1/Y.</p>
  
  <p>But, I am confused as to how to encode F(1/y) in r and what to use to define that distribution - mu or 1/mu.</p>
  
  <p>I have estimates of mu and sigma for F(x).</p>
  
  <p>Thanks in advance.</p>