[R] R: function code
Adaikalavan Ramasamy
ramasamy at cancer.org.uk
Mon Apr 11 13:05:39 CEST 2005
# 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
More information about the R-help
mailing list