[S] rpart() error message

Thomas J. Richards (richards@toutatis.pci.upmc.edu)
Tue, 8 Sep 1998 12:02:30 -0400 (EDT)


I am using the rpart() software for recursive partitioning, to analyze
survival data. Having successfully duplicated the stagec example in the
manual,I'm now using my own data. I am getting the following error message:

Error in .C("s_to_rp",: subroutine s_to_rp: 1 NaN value(s) in argument 10

I don't understand. Argument 10 to the C function s_to_rp is as.single(X).
The X matrix has only only one entry which is NA, none which are NaN, and NA's
are OK, since argument 13 to s_to_rp is NAOK=T. Has anyone else had a similar
experience using rpart? Is there some way that I can get around this error
message? Any other suggestions? Many thanks.

Tom Richards

University of Pittsburgh
Cancer Institute

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