List of 12
$ coefficients : Named num [1:2] 25.8 0.61
..- attr(*, "names")= chr [1:2] "(Intercept)" "mom_iq"
$ residuals : Named num [1:434] -34.68 17.69 -11.22 -3.46 32.63 ...
..- attr(*, "names")= chr [1:434] "1" "2" "3" "4" ...
$ effects : Named num [1:434] -1808.22 190.39 -8.77 -1.96 33.73 ...
..- attr(*, "names")= chr [1:434] "(Intercept)" "mom_iq" "" "" ...
$ rank : int 2
$ fitted.values: Named num [1:434] 99.7 80.3 96.2 86.5 82.4 ...
..- attr(*, "names")= chr [1:434] "1" "2" "3" "4" ...
$ assign : int [1:2] 0 1
$ qr :List of 5
..$ qr : num [1:434, 1:2] -20.833 0.048 0.048 0.048 0.048 ...
.. ..- attr(*, "dimnames")=List of 2
.. .. ..$ : chr [1:434] "1" "2" "3" "4" ...
.. .. ..$ : chr [1:2] "(Intercept)" "mom_iq"
.. ..- attr(*, "assign")= int [1:2] 0 1
..$ qraux: num [1:2] 1.05 1.04
..$ pivot: int [1:2] 1 2
..$ tol : num 1e-07
..$ rank : int 2
..- attr(*, "class")= chr "qr"
$ df.residual : int 432
$ xlevels : Named list()
$ call : language lm(formula = kid_score ~ mom_iq, data = kids)
$ terms :Classes 'terms', 'formula' language kid_score ~ mom_iq
.. ..- attr(*, "variables")= language list(kid_score, mom_iq)
.. ..- attr(*, "factors")= int [1:2, 1] 0 1
.. .. ..- attr(*, "dimnames")=List of 2
.. .. .. ..$ : chr [1:2] "kid_score" "mom_iq"
.. .. .. ..$ : chr "mom_iq"
.. ..- attr(*, "term.labels")= chr "mom_iq"
.. ..- attr(*, "order")= int 1
.. ..- attr(*, "intercept")= int 1
.. ..- attr(*, "response")= int 1
.. ..- attr(*, ".Environment")=<environment: R_GlobalEnv>
.. ..- attr(*, "predvars")= language list(kid_score, mom_iq)
.. ..- attr(*, "dataClasses")= Named chr [1:2] "numeric" "numeric"
.. .. ..- attr(*, "names")= chr [1:2] "kid_score" "mom_iq"
$ model :'data.frame': 434 obs. of 2 variables:
..$ kid_score: num [1:434] 65 98 85 83 115 98 69 106 102 95 ...
..$ mom_iq : num [1:434] 121.1 89.4 115.4 99.4 92.7 ...
..- attr(*, "terms")=Classes 'terms', 'formula' language kid_score ~ mom_iq
.. .. ..- attr(*, "variables")= language list(kid_score, mom_iq)
.. .. ..- attr(*, "factors")= int [1:2, 1] 0 1
.. .. .. ..- attr(*, "dimnames")=List of 2
.. .. .. .. ..$ : chr [1:2] "kid_score" "mom_iq"
.. .. .. .. ..$ : chr "mom_iq"
.. .. ..- attr(*, "term.labels")= chr "mom_iq"
.. .. ..- attr(*, "order")= int 1
.. .. ..- attr(*, "intercept")= int 1
.. .. ..- attr(*, "response")= int 1
.. .. ..- attr(*, ".Environment")=<environment: R_GlobalEnv>
.. .. ..- attr(*, "predvars")= language list(kid_score, mom_iq)
.. .. ..- attr(*, "dataClasses")= Named chr [1:2] "numeric" "numeric"
.. .. .. ..- attr(*, "names")= chr [1:2] "kid_score" "mom_iq"
- attr(*, "class")= chr "lm"