Override a function that is imported in a namespace
I’m stumped – I can’t figure out how plot.gam is locating termplot – it’s not using the ordinary scoping rules as far as I can tell. This seems to need a deeper understanding of namespaces than I currently possess. my.termplot <- function (x) print(“my new termplot”) # where is it defined? getAnywhere(“termplot”) # in package … Read more