ekwaters wrote:
> 
>> b12=log(.4/.6)
>> b13=log(.85/.15)
> 
> Can you point out the syntax errors in the first one?
> 
> 

  You have a double caret (^^). 
  f(k) should be f[k]

  Watch out for raising numbers to such large powers
(although to my surprise things didn't over/underflow
when I tried your code).

  Ben Bolker

-- 
View this message in context: 
http://www.nabble.com/R---need-more-memory%2C-or-rejection-sampling-algorithm-doesn%27t-work--tp22302800p22308778.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to