om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Juan Pablo Romero Méndez
> Sent: Tuesday, June 24, 2008 11:51 AM
> To: [EMAIL PROTECTED]
> Subject: [R] Equivalent of Mathematica's Apply
>
> Hello,
>
> Is there some equivalent function in R of Mathema
AIL PROTECTED]
Subject: [R] Equivalent of Mathematica's Apply
Hello,
Is there some equivalent function in R of Mathematica's "Apply"
i.e.
Apply[ f, g[a,b]] ==> f[a,b]
In concret, I have a matrix of indexes:
> ind = cbind(1:5, 1:5+5)
> ind
[,1] [,2]
[1,]16
Hello,
Is there some equivalent function in R of Mathematica's "Apply"
i.e.
Apply[ f, g[a,b]] ==> f[a,b]
In concret, I have a matrix of indexes:
> ind = cbind(1:5, 1:5+5)
> ind
[,1] [,2]
[1,]16
[2,]27
[3,]38
[4,]49
[5,]5 10
and I'd like to extrac
3 matches
Mail list logo