Re: [R] "Spreading risk" in a matrix

2008-07-19 Thread ONKELINX, Thierry
does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens ACroske Verzonden: vrijdag 18 juli 2008 22:22 Aan: r-help@r-project.org Onderwerp: Re: [R] "Spreading risk&

Re: [R] "Spreading risk" in a matrix

2008-07-18 Thread ACroske
How do I use the buffer function since I have more than the two columns it calls for? (I have 46!) -- View this message in context: http://www.nabble.com/%22Spreading-risk%22-in-a-matrix-tp18535227p18537082.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] "Spreading risk" in a matrix

2008-07-18 Thread ONKELINX, Thierry
-Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens ACroske Verzonden: vrijdag 18 juli 2008 20:24 Aan: r-help@r-project.org Onderwerp: [R] "Spreading risk" in a matrix I have a binary matrix that represents a map of invasive species risk (1 = infested; 0 = uninf

[R] "Spreading risk" in a matrix

2008-07-18 Thread ACroske
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.