Skip to content
Prev 378686 / 398502 Next

Obtaining values of estimates from a regression; How do I get values from a list?

I find that the str() function is really helpful to understand how an object is
structured, and therefore how to extract part(s) of it.

Try for example:
str(zz)
and it might help you understand why zz$coefficients[2,1] is what you were
looking for.

HTH
Ivan

--
Dr. Ivan Calandra
TraCEr, laboratory for Traceology and Controlled Experiments
MONREPOS Archaeological Research Centre and
Museum for Human Behavioural Evolution
Schloss Monrepos
56567 Neuwied, Germany
+49 (0) 2631 9772-243
https://www.researchgate.net/profile/Ivan_Calandra
On February 22, 2019 at 8:50 AM Eric Berger <ericjberger at gmail.com> wrote: