Re: [R] Randomized Points in space/ saving model results

2011-10-31 Thread R. Michael Weylandt
Comments inline: On Mon, Oct 31, 2011 at 1:51 AM, magono wrote: > Ok, to michael > Looking over what you posted I'm thinking this is the way forward but my > lack of experience using functions is getting in the way of accomplishing > the task.  Examining the outputs into the functions and puttin

Re: [R] Randomized Points in space/ saving model results

2011-10-30 Thread magono
Thank you both for your help. If I have any further questions after I give this a go I'll get back to you. This was much appreciated. M. -- View this message in context: http://r.789695.n4.nabble.com/Randomized-Points-in-space-saving-model-results-tp3922612p3954834.html Sent from the R help ma

Re: [R] Randomized Points in space/ saving model results

2011-10-30 Thread magono
Ok, to michael Looking over what you posted I'm thinking this is the way forward but my lack of experience using functions is getting in the way of accomplishing the task. Examining the outputs into the functions and putting in my own info is giving me a headache. Here's my thoughts at each step

Re: [R] Randomized Points in space/ saving model results

2011-10-20 Thread Rolf Turner
On 21/10/11 06:32, magono wrote: A bit new to R and I'm working on something a bit more challenging than I am used to- so here's whats going on: Data inputs: 9 different shapefiles (.shp) of different point locations (lat, long) shapefile bounding box (lat/long corner point

Re: [R] Randomized Points in space/ saving model results

2011-10-20 Thread R. Michael Weylandt
Not doing much work with spacial stats or shapefiles, I can't help in too much detail, but here are some R commands that might help for each part: a. # This will help you pick random points within your bounded box runif2d <- function(n, xmin, xmax, ymin, ymax){ stopifnot(all(xmax > xmin, yma