Hi All, I am receiving this error
Error in eval(expr, envir, enclos) : could not find function “LL” the following is in a for loop and all the variables are defined and have values. Prob[i,1]=log(((((sigma)^((1-M[i,1]))))* factorial(M[i,1]-1))*(Fmul[i,1])*(Fsum[i,1])*(EV1[i,1])/((EV2[i,1])^(M[i,1]))) LL=LL*Prob[i,1] thanks ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.