Re: [R] function inside a function

2013-12-12 Thread arun
in f[1] and column 2 values in f[2]. Once that been done, i should have in the end, 124 vaues of x[1] for column 1 and 124 for column 2.I hope i am clear this time.Thanks for your help.Eliza > Subject: Re: [R] function inside a function > From: b...@xs4all.nl > Date: Thu, 12 Dec 2013

Re: [R] function inside a function

2013-12-12 Thread eliza botto
Dear Arun, Thankyou very much for your reply. You always come up to save the day. So kind of you...!!! Eliza > Date: Thu, 12 Dec 2013 12:36:18 -0800 > From: smartpink...@yahoo.com > Subject: Re: [R] function inside a function > To: eliza_bo...@hotmail.com > > > > Hi Eliz

Re: [R] function inside a function

2013-12-12 Thread eliza botto
time.Thanks for your help.Eliza > Subject: Re: [R] function inside a function > From: b...@xs4all.nl > Date: Thu, 12 Dec 2013 19:35:58 +0100 > CC: r-help@r-project.org > To: eliza_bo...@hotmail.com > > > On 12-12-2013, at 17:10, eliza botto wrote: > > > De

Re: [R] function inside a function

2013-12-12 Thread Berend Hasselman
On 12-12-2013, at 17:10, eliza botto wrote: > Dear users of R, > I am trying to inculcate a function inside a function. For that to be done, i > copied following function from internet. > > library(nleqslv) fun <- function(x) { > f <- numeric(length(x)) > f[1] <- A[,1]+x[2] - 1/x[1