On Fri, 15 Aug 2003, David Parkhurst wrote: > After entering “library(rpart)”, I tried to plot an existing rpart tree, and > got this error message: Error: couldn't find function "plot.rpart". > However, “?plot.rpart” does bring up the help for the function. The same > things occur for text.rpart, although print(my.tree) does work.
So have you *read* the help when you do ?plot.rpart ? Please read the example, and see how it is used. Hint: you do not use plot.rpart(), but plot() -- Cheers, Kevin ------------------------------------------------------------------------------ "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." -- Charles Babbage (1791-1871) ---- From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki) ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help