Hi,

On Tue, Feb 21, 2012 at 11:54 AM, Martin Morgan <mtmor...@fhcrc.org> wrote:
[snip]

> Hi Steve --
>
> args(new) shows that new has a single named argument Class. R's rules of
> partial matching mean that C matches Class before the unnamed "SVM", as in
>
>  f = function(XXX=1, ...) XXX
>  f(2, X=3) # returns 3
>
> so name your arg to new
[/snip]

[facepalm]
Jeez ... I totally knew that, too ... just wasn't putting 2 and 2
together, here.

Thanks for taking the time to point that out.

-steve

-- 
Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to