Re: [R] Help converting a function from S-Plus to R: family$weight

2005-08-13 Thread Prof Brian Ripley
I think a question about the S family() functions is best determined by reading the S(-PLUS) documentation. The weights component computes the working weights for the IWLS, unsurprisingly (and as stated by ?family.object). R has mu.eta to do that, the crucial line in R's glm.fit being w

[R] Help converting a function from S-Plus to R: family$weight

2005-08-11 Thread Peter Dunn
Hi all I am converting an S-Plus function into R. The S-Plus code uses some of the glm families, and family objects. The family objects in S-Plus and R have many different features, for example: In R: names(Gamma()) [1] family link linkfunlinkinvvariance [6]

Re: [R] family

2005-07-21 Thread Prof Brian Ripley
You want to aim to write a family for R, not find the equivalents of S constructs -- they are different and so exact equivalents do not exist. In particular, an R family has several components which an S family does not. There are lots of example families for you to follow (e.g. see ?family

[R] family

2005-07-20 Thread Dr L. Y Hin
Dear all, I am in the process of migrating an S programme library to R, and it involves the family entity. I have checked ?family but it does not give much detail of its components. I will be very grateful if anyone can point towards sources/ways to look up on this areas with an aim to find