R/lognormal.error.R

Defines functions lognormal.error

lognormal.error <-
function(parameters, values, probabilities, weights){
	sum(weights * (plnorm(values, parameters[1], exp(parameters[2])) - probabilities)^2)
}

Try the SHELF package in your browser

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

SHELF documentation built on June 7, 2023, 5:11 p.m.