Skip to content
Prev 32363 / 398513 Next

Access Object's Objects HELP

DivineSAAM at aol.com wrote:
Most of the time, you can assign the summary list to a variable and 
extract it that way. As in (using the example on ?nls):

R> x = summary( fm1DNase1 )
R> names(x)
[1] "formula"      "residuals"    "sigma"
[4] "df"           "cov.unscaled" "correlation"
[7] "parameters"
R> x$parameters
      Estimate Std. Error  t value     Pr(>|t|)
Asym 2.345180 0.07815395 30.00719 2.165503e-13
xmid 1.483090 0.08135322 18.23026 1.218535e-10
scal 1.041455 0.03227080 32.27236 8.506916e-14

sundar