I am trying to write a modified function to plot an rpart object. By
using getS3method I can see the plot and text code that I want to
modify. Since I don't want to modify the package, I create a new
function to plot the rpart object. The problem is that the original
function calls many rpart specific functions that are only visible
inside the rpart namespace. Therefore, when I call my modified function
it does not find the rpart specific functions and gives me an error.
How can I make a new function that is a small modification of an
existing package function and let the modified function access the
hidden package functions?
Michael Conklin
Chief Methodolgist - Advanced Analytics
MarketTools, Inc.
6465 Wayzata Blvd. Suite 170
Minneapolis, MN 55426
Tel: 952.417.4719 | Mobile:612.201.8978
Michael.Conklin@markettools.com <mailto:Michael.Conklin@markettools.com>
MarketTools(r) http://www.markettools.com
<http://www.markettools.com/>
This e-mail and any attachments may contain privileged, confidential or
proprietary information. If you are not the intended recipient, be aware
that any review, copying, or distribution of this e-mail or any
attachment is strictly prohibited. If you have received this e-mail in
error, please return it to the sender immediately, and permanently
delete the original and any copies from your system. Thank you for your
cooperation.
[[alternative HTML version deleted]]