within-subject stdized regression w missing data
On Sat, 21 Apr 2001, Jonathan Baron wrote:
One thing I've got to do is make sure that each subject's regression will actually run, or omit the ones that won't, or else the whole thing bombs. I have been unable to get lm() to proceed without doing this with several extra steps. (I did read the help page.)
This part can be easily solved. Use try() as a wrapper around your lm(). It captures errors and returns an object of class "try-error" instead of crashing. -thomas Thomas Lumley Asst. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._