[R] calculate glm slope

David Winsemius dwinsemius at comcast.net
Mon Aug 3 16:21:43 CEST 2009


On Aug 3, 2009, at 10:13 AM, David Winsemius wrote:

>
> On Aug 3, 2009, at 9:58 AM, Birgit Lemcke wrote:
>
>> Hello list-members!
>>
>> Is there a function that automatically calculates the slope and the  
>> confidence intervals for the different explanatory variables from  
>> the glm output?
>>
>> Many thanks in advance for every hint.
>
> B.;  meet ??"" ,the quick way to do help.search(""). e.g.:
>
> ??"confidence intervals"
>
> And for your purposes the confint function in the stats package is  
> probably what you are looking for.
>
Looking once more at the list of hits for help topics matching  
"confidence intervals" I noticed that confint.glm has a separate  
heading. Since MASS is not loaded by default, you might need to do:

require(MASS)
?confint.glm


David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list