[R] cutomized link function in R

From: ozaksoy <ozaksoy_at_lamar.colostate.edu>
Date: Fri 22 Jul 2005 - 00:07:29 EST


Hello!
I am trying to run my S+ code in R (version 2.1.0). I've created a customized link function, namely my.binomial where parameter theta has to be given. I'm considering theta to be .05. Unfortunately, R is giving an error (I had used MASS in adjusting the S+ code to R). I would very much appreciate it if you could help me in finding the correction needed in the code. My S+ code I'm trying to adjust to R is: g<-glm(y~diffwhale+tdelta:diffwhale+tdelta2:diffwhale, data=ind, family=my.binomial(theta=.05)) Thanks,
Isin



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 22 00:24:45 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:53 EST