search for: tp3556193p3556193

Displaying 1 result from an estimated 1 matches for "tp3556193p3556193".

2011 May 27
2
Use apply on a function with multiple argument including a matrix ?
...{.... return(SM) } # a square matrix # the Loop SM=f(M,p1,p2,p3) for (i in 1:10000) { p1=runif(..); p2=runif(..); p3=runif(..) SM=SM+f(M,p1,p2,p3) } -- View this message in context: http://r.789695.n4.nabble.com/Use-apply-on-a-function-with-multiple-argument-including-a-matrix-tp3556193p3556193.html Sent from the R help mailing list archive at Nabble.com.