Hello,
You can do
stats:::vcov.lm
to see the source code for that particular method. In order to see which
are the methods supported by vcov, write
methods("vcov")
Best regards,
Carlos J. Gil Bellosta
http://www.datanalytics.com
On Wed, 2009-01-07 at 21:37 -0600, Yang Wan wrote:> Dear R Help,
>
>
>
> I wonder the way to show the source code of [vcov] command. Usually, it
> can show the source code after input the command and enter. But for
> [vcov], it shows
>
>
>
> function (object, ...)
>
> UseMethod("vcov")
>
> <environment: namespace:stats>
>
>
>
> I appreciate for your help. Best wishes.
>
>
>
> Christina
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.