where μ is the mean on the log scale, and σ is the standard deviation on the log scale.
Examples
# setup distance matrix# two-column matrix with latitude/longitude, in degreeslatLong = cbind(runif(n =5, min =0, max =90), runif(n =5, min =0, max =180))# Vincenty Ellipsoid distance formuladistMat = calcVinEll(latLongs = latLong)# calculate lognormal distribution over distances# mean and standard deviation are just for examplekernMat = calcLognormalKernel(distMat = distMat, meanlog =100, sdlog =10)