Extracting a function from a R package
Dear List, I typed
page(survival:::print.coxph, "print" )
and I got the respective codes.
page(MASS::lda, "print")
gives me
###############################
function (x, ...)
UseMethod("lda")
<environment: namespace:MASS>
###############################
Is there any way I can get/extract the lda function from MASS?
Thanks for your attention.
R.Version()
$platform "i386-pc-mingw32" $arch "i386" $os "mingw32" $system "i386, mingw32" $status "" $major "2" $minor "8.1" $year "2008" $month "12" $day "22" $`svn rev` "47281" $language "R" $version.string "R version 2.8.1 (2008-12-22)"