On 30.08.2011 14:31, . . wrote:
Hi all,
I am getting the erro showed in the subject. I was strange the this
becomes to happen after a computer restar. I think after the restart
another function f2 was in memory and it scape from me.
func<- Vectorize(FUN=
function(y, frac, rate, sad, samp="
Hi all,
I am getting the erro showed in the subject. I was strange the this
becomes to happen after a computer restar. I think after the restart
another function f2 was in memory and it scape from me.
func <- Vectorize(FUN=
function(y, frac, rate, sad, samp="Poisson", trunc=0, ...){
Hi Nathalie,
It should be "subdivisions" in the line:
> for (i in 1:length(x)){res[i] <- integrate(f,x[i],2.967,
> subdivision=2000)$value}
R is trying to pass the argument "subdivision" to your function f.
--Gray
On Wed, Jul 28, 2010 at 2:27 PM, Nathalie Gimenes wrote:
> Dear all,
>
> I tr
Dear all,
I tried once to create one variable called bip such that:
bip <- cip + (1/f(cip))*fi(f,cip)
And this was working.
But now, doing the same thing I did before, the software shows me the
following message:
Error in f(x, ...) : unused argument(s) (subdivision = 2000)
I have the variable c
4 matches
Mail list logo