search for: regtree_2

Displaying 1 result from an estimated 1 matches for "regtree_2".

Did you mean: regtree
2007 Nov 11
2
using RSperl with "tree" package
Hello, I am trying to use the "tree" package in R with RSperl. I have generated a regression tree using the "tree" package in R and saved it in a file say "RegTree_2.Rdata" If I use the predict function from R command line, it works fine. However, I want to use it from within perl using RSperl. To do that, here is what I do, my $regTree = "RegTree_2.Rdata"; my $tree = &R::load($regTree); my $ans = &R::call("predict.tree", $tre...