[R] Loglikelihood for x factorial?

Ben Bolker bolker at ufl.edu
Wed Jul 9 17:08:42 CEST 2008


 <ctu <at> bigred.unl.edu> writes:

> I have a silly question. I don't know how to express the loglikelihood  
> function of
> 1/(x!) where x=x1,x2,....xn in R.

  Not clear what you mean.  If you just want the log of the
factorial, just use lfactorial(x) ...

 Ben Bolker



More information about the R-help mailing list