From nobu@psrc.isac.co.jp  Sun May  4 09:27:10 1997
From: nobu@psrc.isac.co.jp (Nobuhiro Yasutomi)
Date: Sun, 04 May 1997 17:27:10 +0900
Subject: R-alpha: abline not recognized coef member of list
Message-ID: <9705040827.AA06356@derrida.psrc.isac.co.jp>

Hello, R developers.

  I found a little different behavior of R with S.

  at R-0.49:
    > a
    [1] 12 23 22 34 44 54 55 70 78
    > plot(a)
    > abline(lsfit(seq(1,len=length(a)), a))
    Error: no applicable method for "coefficients"

  at S (from AT&T '92) result draw coefficient line without error.
Then I think to need define a function as followed:

    coefficients.default <- function(x) x$coef

---
Nobuhiro Yasutomi, ISAC, Inc.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: abline not recognized coef member of list
Nobuhiro Yasutomi