[R] Error in eval(expr, envir, enclos)
Jeff Newmiller
jdnewmil at dcn.davis.CA.us
Wed Nov 4 16:48:56 CET 2015
You assert "all the variables are defined and have values" but something is wrong that you are not showing us. Please read [1] and make your example reproducible.
Also post in plain text (a setting in your email software) so we don't have to decipher a mangled version of what you write on this plain-text-only mailing list.
[1] http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
On November 4, 2015 7:18:25 AM PST, Alaa Sindi <alaasindi at gmail.com> wrote:
>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 at 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.
More information about the R-help
mailing list