Compute value of Log Normal Quantile Function in R Programming – qlnorm() Function
qlnorm() function in R Language is used to compute the value of log normal quantile function. It also creates a plot of the quantile function of log normal distribution.
Syntax: qlnorm(vec)
Parameters:
vec: x-values for normal density
Example 1:
# R program to compute value of# log normal quantile function # Creating x-values for densityx <- seq(0, 1, by = 0.2) # Calling qlnorm() functiony <- qlnorm(x)y |
Output:
[1] 0.0000000 0.4310112 0.7761984 1.2883304 2.3201254 Inf
Example 2:
# R program to compute value of# log normal quantile function # Creating x-values for densityx <- seq(0, 1, by = 0.02) # Calling qlnorm() functiony <- qlnorm(x) # Plot a graphplot(y) |
Output:


