View source: R/iclogcondist_simulation_dist.R
ptlnorm | R Documentation |
This function computes the cumulative distribution function (CDF) of a truncated log-normal distribution
at a given point x
.
ptlnorm(x, meanlog = 0, sdlog = 1, upper_bound = Inf)
x |
A numeric vector at which to evaluate the CDF. |
meanlog |
A numeric value representing the mean of the log-normal distribution on the log scale. Default is |
sdlog |
A positive numeric value representing the standard deviation of the log-normal distribution on the log scale. Default is |
upper_bound |
A positive numeric value indicating the upper truncation point. Default is |
A numeric vector of the CDF values of the truncated log-normal distribution at x
.
# Evaluate the CDF at x = 2 for a truncated log-normal distribution
ptlnorm(2, meanlog = 0, sdlog = 1, upper_bound = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.