extract coefficients from glm in R

前端 未结 2 465
独厮守ぢ
独厮守ぢ 2021-02-05 13:23

I have performed a logistic regression with the following result:

ssi.logit.single.age[\"coefficients\"]
# $coefficients
#  (Intercept)          age 
# -3.425062         


        
2条回答
  •  时光说笑
    2021-02-05 13:54

    There is an extraction function called coef to get coefficients from models:

    coef(ssi.logit.single.age)["age"]
    

提交回复
热议问题