owInd,3],e=cells[rowInd,5])))
Error in paste("f", i, j, "(a,b,c,d)", sep = "") :
argument "i" is missing, with no default
What do you think I should try out now?
Vielen Dank
Alex
--- On Mon, 4/18/11, Andreas Borg wrote:
From: Andreas Borg
Subj
Thanks you very much.
You made it work!
Cheers
--- On Mon, 4/18/11, Kenn Konstabel wrote:
> From: Kenn Konstabel
> Subject: Re: [R] mapply to lapply
> To: "Alaios"
> Cc: R-help@r-project.org
> Date: Monday, April 18, 2011, 1:06 PM
> On Mon, Apr 18, 2011 at 2:10 PM,
ep = "") :
> argument "i" is missing, with no default
>
>
> What do you think I should try out now?
>
> Vielen Dank
> Alex
>
> --- On Mon, 4/18/11, Andreas Borg wrote:
>
>> From: Andreas Borg
>> Subject: Re: [R] mapply to lapply
>> To
rgument "i" is missing, with no default
What do you think I should try out now?
Vielen Dank
Alex
--- On Mon, 4/18/11, Andreas Borg wrote:
> From: Andreas Borg
> Subject: Re: [R] mapply to lapply
> To: "Alaios"
> Cc: R-help@r-project.org
> Date: Monday, Apr
My solution would be to use an index variable that goes from 1 to the number of
rows that are to be processed, along with a helper function which calls
Fwithcellvalue with the suitable arguments:
F2[i+1,j+1]<-sum(lapply(1:nrow(cells), function(rowInd)
Fwithcellvalue(i=i,j=j,a=cells[rowInd,2],b
Dear all,
I would like to ask your help concerning
converting a mapply function to lapply. The reason is that I would like to use
mclapply which requires lapply syntax.
The command I would like to convert is:
F2[i+1,j+1]<-sum(mapply(Fwithcellvalue,i=i,j=j,a=cells[,2],b=cells[,4],c=cells[,1],d=c
6 matches
Mail list logo