VCOV Source Code
Mostly I am interested in using R for statistics. I am also interested in being able to look at source code. I hope to be able to write extensions. I tried the suggestion below but was unable to access vcov.lm.
methods(vcov)
[1] vcov.Arima* vcov.glm* vcov.lm* vcov.mlm* vcov.nls* Non-visible functions are asterisked
stats::vcov.lm
Error: 'vcov.lm' is not an exported object from 'namespace:stats'
I am currently using version 2.7.2 on XP. Any suggestions on how to proceed next? Thank You, Murray M Cooper Richland Statistics 9800 N 24th St Richland, MI, USA 49083 Mail: richstat at earthlink.net ----- Original Message ----- From: "Carlos J. Gil Bellosta" <cgb at datanalytics.com> To: "Yang Wan" <ywan at CFR.MsState.Edu> Cc: <r-help at r-project.org> Sent: Thursday, January 08, 2009 4:44 AM Subject: Re: [R] VCOV Source Code
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.
______________________________________________ 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.