R/LN2020.R

# ZG-2
# 
# 
#
LN2020 <- function (a,b,n,m=n-1,d=1/n,mean.rn,sd.rn) {
  #
  #
  id <- 2020
  #
  #
  psi = 1 - a^2*d/b - (b - a^2*d)*sd.rn^2/(2*m)
  #
  result <- exp(a*mean.rn + b*psi*sd.rn^2/2)
  return(result)
} #

Try the fuel package in your browser

Any scripts or data that you put into this service are public.

fuel documentation built on July 2, 2020, 12:23 a.m.