Skip to content
Prev 32364 / 398513 Next

Access Object's Objects HELP

DivineSAAM at aol.com writes:
Use the coef extractor function, as in
 coef(cs.wt)

In general the best way to get information on a fitted model is to use
the extractor function like coef(object) as opposed to trying to
decide which component in the object holds the information of
interest.  In the case of objects of the nls class you really do want
to use the extractor functions because these objects have an unusual
internal structure.
The "t value" is the ratio "Estimate"/"Std. Error".  Do you really
want "Std. Error"/Estimate?
The nls package now has a namespace so the S3 methods are hidden.
You need to use
 getS3method("summary", "nls")
to see the gory details.