[S] Bug fix for weights argument in fda()

Michael Ostland (ostland@stat.berkeley.edu)
Thu, 23 Apr 1998 13:38:47 -0700 (PDT)

The fda() function in the Flexible Discriminant Analysis
package has a bug when one tries to specify the "weights"
argument. Trevor Hastie suggests the following fix:

> Replace the line near the top of fda (that looks almost like this one)
> with:
> m <- m[match(names(m), c("", "formula", "data", "weights"), 0)>0]

This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news