Displaying 1 result from an estimated 1 matches for "myboostrap".
Did you mean:
mybootstrap
2012 Nov 20
1
parApply computing
I'm using /parApply/() function in "snow" package for parallel computing
(boostrapping repeating calculation), as the follows:
MyBoostrapping <- function( i ){
.....
}
cl <- makeCluster( ncluster, type = "SOCK")
i.circle <- as.matrix( 1:128, , 1)
parApply( cl, i.circle, 1, FUN = MyBoostrapping)
It works.
However, I want to set more than one arguments to function MyBoostrapping,
e.g., MyBoostrapping <- fun...