[R] Code behind the Function
Duncan Murdoch
murdoch.duncan at gmail.com
Tue Oct 18 14:05:56 CEST 2011
On 11-10-18 7:34 AM, Vikram Bahure wrote:
> Hi,
>
> I am a new user in R.
>
> I wanted to study the code for some R commands.
>
> For example, as I was studying PCA analysis there is a command in R, as
> "princomp". Normally if we type the command we get the code behind the
> function, but I am not able to get for this one.
>
> *> princomp
> function (x, ...)
> UseMethod("princomp")
> <environment: namespace:stats*
>
> It would be helpful if someone could throw light on this.
That is the code for that function. If you want information on the
functions it calls, see Uwe Ligges' article "Accessing the Sources",
linked from this page:
http://developer.r-project.org/TechDocs/
Duncan Murdoch
More information about the R-help
mailing list