[R] projection pursuit classification
Hello, I am trying to look at projection pursuit classification: I was wondering what function/package is recommended for use. I note that the stats function ppr only takes in numeric responses. Any suggestions? Many thanks, Ranjan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Projection Pursuit Classification
ArunPrasad wrote: Hi, Can anyone help me to understand why I am getting the error message like below? Tree.result - PP.Tree(LDA,iris[train,5],iris[train,1:4]) These are *Warning* messages rather than error messages. These warnings come from coding problems in the functions you are using (PP.Tree or those PP.Tree depends on), whatever PP.Tree() is Uwe Ligges Warning messages: 1: In if (LR.name != n.name) { : the condition has length 1 and only the first element will be used 2: In return(Alpha, C, IOindexL, IOindexR) : multi-argument returns are deprecated 3: In return(Tree.Struct, Alpha.Keep, C.Keep, rep, rep1, rep2) : multi-argument returns are deprecated 4: In if (LR.name != n.name) { : the condition has length 1 and only the first element will be used 5: In return(Alpha, C, IOindexL, IOindexR) : multi-argument returns are deprecated 6: In return(Tree.Struct, Alpha.Keep, C.Keep, rep, rep1, rep2) : multi-argument returns are deprecated 7: In return(Tree.Struct, Alpha.Keep, C.Keep, rep, rep1, rep2) : multi-argument returns are deprecated 8: In return(Tree.Struct, Alpha.Keep, C.Keep, rep, rep1, rep2) : multi-argument returns are deprecated 9: In return(Tree.Struct, Alpha.Keep, C.Keep, rep, rep1, rep2) : multi-argument returns are deprecated 10: In return(Tree.Struct, Alpha.Keep, C.Keep) : multi-argument returns are deprecated Thanks Arun __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Projection Pursuit Classification
Hi, Can anyone help me to understand why I am getting the error message like below? Tree.result - PP.Tree(LDA,iris[train,5],iris[train,1:4]) Warning messages: 1: In if (LR.name != n.name) { : the condition has length 1 and only the first element will be used 2: In return(Alpha, C, IOindexL, IOindexR) : multi-argument returns are deprecated 3: In return(Tree.Struct, Alpha.Keep, C.Keep, rep, rep1, rep2) : multi-argument returns are deprecated 4: In if (LR.name != n.name) { : the condition has length 1 and only the first element will be used 5: In return(Alpha, C, IOindexL, IOindexR) : multi-argument returns are deprecated 6: In return(Tree.Struct, Alpha.Keep, C.Keep, rep, rep1, rep2) : multi-argument returns are deprecated 7: In return(Tree.Struct, Alpha.Keep, C.Keep, rep, rep1, rep2) : multi-argument returns are deprecated 8: In return(Tree.Struct, Alpha.Keep, C.Keep, rep, rep1, rep2) : multi-argument returns are deprecated 9: In return(Tree.Struct, Alpha.Keep, C.Keep, rep, rep1, rep2) : multi-argument returns are deprecated 10: In return(Tree.Struct, Alpha.Keep, C.Keep) : multi-argument returns are deprecated Thanks Arun -- View this message in context: http://www.nabble.com/Projection-Pursuit-Classification-tp20786582p20786582.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.