WilDsc0p wrote:> 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?
This *is* the lda function which is an S3 generic function, see the R
documentation. If you want to see its methods:
library("MASS")
methods(lda)
getS3method("lda", "default")
Best,
Uwe Ligges
> 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)"
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.