search for: acrosk

Displaying 4 results from an estimated 4 matches for "acrosk".

Did you mean: across
2008 Jul 09
3
rbinom for a matrix
I have a large matrix full of probabilities; I would like to convert each probability to a 1 or a 0 using rbinom. How can I do this on the entire matrix? The matrix was converted from a raster ArcMap dataset, so the matrix is essentially a map. Because of this, I have no column headings. Thanks! -- View this message in context: http://www.nabble.com/rbinom-for-a-matrix-tp18366867p18366867.html
2008 Jul 18
0
spreading the risk
This is for ACroske but I can't find his email so I'll just send it to the list. Hi ACroske: The code below takes a zeros and ones matrix and puts ones in the places you wanted. It can be made shorter ( maybe ?. i haven't thought about that ) but first let me know if that's what you wanted ? The or...
2008 Jul 18
3
"Spreading risk" in a matrix
I have a binary matrix that represents a map of invasive species risk (1 = infested; 0 = uninfested). It started as a matrix of probabilities (developed in ArcMap) that I converted to binary with this R code: binary.matrix<-matrix(rbinom(length(prob.matrix),prob=prob.matrix,size=1),nrow=nrow(prob.matrix)) Now, I would like to "spread" the risk for year 2 of the invasion. I'd like
2008 Aug 15
0
Boot warning messages
Hello, I am attempting to run a bootstrap on a data frame, but something is going wrong. I have 2 data frames: A B V1 V2 V3 V1 V2 V3 1 1 4 7 1 10 13 16 2 2 5 8 2 11 14 17 3 3 6 9 3 12 15 18 Over each iteration of the bootstrap, I would like to perform a t.test on the corresponding columns (i.e.