Venables and Ripley's MASS 3ed mentions a function predplot, used for plotting results of lda and qda. But even with the library MASS loaded, R (1.4.1) tells me predplot doesn't exist, and when I search the 1.4.1 documentation for predplot, it finds nothing. Does predplot still exist somewhere, or has it been replaced by a new and improved version with a different name? Thanks. David Marimont -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
In the installed package directory for MASS, take a look at scripts/ch11.R. -roger _______________________________ UCLA Department of Statistics rpeng at stat.ucla.edu http://www.stat.ucla.edu/~rpeng On Tue, 26 Mar 2002, David Marimont wrote:> Venables and Ripley's MASS 3ed mentions a function predplot, used for > plotting results of lda and qda. But even with the library MASS loaded, > R (1.4.1) tells me predplot doesn't exist, and when I search the 1.4.1 > documentation for predplot, it finds nothing. Does predplot still > exist somewhere, or has it been replaced by a new and improved version > with a different name? Thanks. > > David Marimont > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Page 351 of MASS states "(Function predplot is given in the scripts.)". You need to find the file ch11.R , which should be in Path_To_RHOME/library/MASS/scripts , and the code for predplot is defined there. Gavin Simpson -----Original Message----- From: owner-r-help at stat.math.ethz.ch [mailto:owner-r-help at stat.math.ethz.ch] On Behalf Of David Marimont Sent: 26 March 2002 21:16 To: r-help at stat.math.ethz.ch Subject: [R] does function predplot still exist? Venables and Ripley's MASS 3ed mentions a function predplot, used for plotting results of lda and qda. But even with the library MASS loaded, R (1.4.1) tells me predplot doesn't exist, and when I search the 1.4.1 documentation for predplot, it finds nothing. Does predplot still exist somewhere, or has it been replaced by a new and improved version with a different name? Thanks. David Marimont -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._._._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._