Re: [Rd] documentation bug for isoreg example (PR#10352)

2007-10-19 Thread maechler
> "BT" == Benjamin Tyner <[EMAIL PROTECTED]> > on Thu, 18 Oct 2007 15:15:06 +0200 (CEST) writes: BT> Full_Name: Benjamin Tyner BT> Version: 2.6.0 (43063) BT> OS: WinXP BT> Submission from: (NULL) (171.161.224.10) BT> At the end of the examples for isoreg, there is

[Rd] documentation bug for isoreg example (PR#10352)

2007-10-18 Thread btyner
Full_Name: Benjamin Tyner Version: 2.6.0 (43063) OS: WinXP Submission from: (NULL) (171.161.224.10) At the end of the examples for isoreg, there is cat("R^2 =", formatC(sum(residuals(ir4)^2) / (9*var(y4)), digits=2),"\n") I think this should be cat("R^2 =", formatC(1 - sum(residuals(ir4)