Thanks to all of you for those answers, it now works and it's way faster
than it used to be ;)
Especially, converting my list of matrix to a 3-dimensionnal array
simplifies a lot the statistics I have to run on my data :)
Thanks again,
Robin
2011/12/14 Patrizio Frederic
> Hi robin,
> I'm not s
Hi robin,
I'm not sure is what you need, but that's an esthetically nice
solution (one single line without any loop :) )
matrix(apply(log(cbind(as.numeric(a),as.numeric(b),as.numeric(c),as.numeric(d))),1,sd),3)
hope it could help,
PF
On Mon, Dec 12, 2011 at 5:15 PM, Robin Cura wrote:
> Hello,
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Robin Cura
> Sent: Tuesday December 13, 2011 3:16 AM
>
> I'm currently trying to convert a slow and ugly script I made, so that
> it's
> faster and can be computed on a computer
Robin Cura wrote on 12/12/2011 10:15:32 AM:
> Hello,
>
> I'm currently trying to convert a slow and ugly script I made, so that
it's
> faster and can be computed on a computer grid with the multicore
package.
> My problem is that I don't see how to turn some loops into an
"apply-able"
> functi
Hello,
I'm currently trying to convert a slow and ugly script I made, so that it's
faster and can be computed on a computer grid with the multicore package.
My problem is that I don't see how to turn some loops into an "apply-able"
function.
Here's an example of my loops :
I got a list of datafra
5 matches
Mail list logo