Re: [R] R: function code

From: Adaikalavan Ramasamy <ramasamy_at_cancer.org.uk>
Date: Mon 11 Apr 2005 - 21:05:39 EST

# In your specific case :

> library(nnet)
> methods(nnet)

[1] nnet.default nnet.formula

> nnet.default

 function (x, y, weights, size, Wts, mask = rep(TRUE, length(wts)),

     linout = FALSE, entropy = FALSE, softmax = FALSE, censored = FALSE,
     skip = FALSE, rang = 0.7, decay = 0, maxit = 100, Hess = FALSE,
     trace = TRUE, MaxNWts = 1000, abstol = 1e-04, reltol = 1e-08,
     ...)

 {
<SNIP>

# More generally

  1. Download http://www.cran.r-project.org/src/contrib/VR_7.2-12.tar.gz (nnet is part of VR bundle)
  2. Uncompress it
  3. All the R codes should be VR/nnet/R directory and C codes in VR/nnet/src directory

Regards, Adai

On Mon, 2005-04-11 at 12:52 +0200, 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



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:19:20 2005

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