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]