Re: [R] R: function code

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Mon 11 Apr 2005 - 21:03:59 EST

Clark Allan wrote:

> HI
>
> sorry to be a nuisance to all!!!
>
> how can i see the code of a particular function?
>
> e.g. nnet just as an example

Most easily by downloading the package sources and looking in the R directory.

Or in the console:

  library(nnet)
  nnet
  methods(nnet)
  nnet.formula
  nnet.default
  nnet:::predict.nnet

and so on ...

Uwe Ligges

>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Apr 11 21:13:53 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:06 EST