Displaying 1 result from an estimated 1 matches for "rtree_2".
Did you mean:
rtree
2007 Nov 11
2
using RSperl with "tree" package
...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", $tree, $_[0]);
On running my code, I get the following error:
Error in predict.tree("rtree_2", list("5031601", "GS0098", 0, "1", "1", :
not legitimate tree
Any help would be appreciated.
Thanks
-Rachana
Rachana Jain
rachanaj@yahoo.com
Ph: 408-499-9802 (Cell)
513-556-7509 (Res.)
2931 Scioto Lane Apt. No. 1002
Cin...