R/logNormal_CDF.R

Defines functions logNormal_CDF

Documented in logNormal_CDF

#' Log normal cumulative distribution function
#' 
#' @param x A numeric for which cumulative area under the log-normal curve is to be computed.
#' @param meanlog A numeric of estimated log-normal mean.
#' @param sdlog A numeric of estimated log-normal standerd deviation.
#' @export   

logNormal_CDF = function(x,meanlog,sdlog) 0.5 + 0.5*erf( (log(x)-meanlog)/ sqrt(2)*sdlog )
msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.