[R] error in documentation

Martin Maechler maechler at stat.math.ethz.ch
Sat Oct 25 14:54:14 CEST 2003


>>>>> "Rajarshi" == Rajarshi Guha <rxg218 at psu.edu>
>>>>>     on 24 Oct 2003 10:17:34 -0400 writes:

    Rajarshi> Hi, there appears to be an error in the
    Rajarshi> documentation for fanny. In the Details section,
    Rajarshi> the equation representing the objective function
    Rajarshi> has no variable k in it, but the two lines
    Rajarshi> following it mention:

    Rajarshi> ... k is the number of clusters, ..........

You are correct -- note however that this is only for the text
version of the help page (not the nicely formatted  latex/ps/pdf
one which has real mathematical formulae) -- and which you can
get from {when you have latex installed on your computer}
    help(fanny, offline = TRUE)

The corrected "text-version" of the formula is

    SUM_[v=1..k] (SUM_(i,j) u(i,v)^2 u(j,v)^2 d(i,j)) / (2 SUM_j u(j,v)^2)}
       ^^^^^^^^

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><




More information about the R-help mailing list