R-alpha: "call" component of a fitted model

Douglas Bates (bates@stat.wisc.edu)
Thu, 29 Aug 96 16:37 CDT


Message-Id: <m0uwEmY-0000VVC@franz.stat.wisc.edu>
Date: Thu, 29 Aug 96 16:37 CDT
From: Douglas Bates <bates@stat.wisc.edu>
To: R-testers <r-testers@stat.math.ethz.ch>
Subject: R-alpha: "call" component of a fitted model

At present functions like lm() insert the "call" component of the
fitted model with
	z$call <- sys.call()

I think it is safer, modulo the previously mentioned problem with
... arguments and match.call(), to use
	z$call <- match.call()

That way you can extract arguments by name in later manipulations.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-