SergioHGS
2012-Jun-20 14:32 UTC
[R] Conditioned Latin Hypercube Sampling within determined distance
Hi all, I am a begginer in R and I have been trying to use the Conditioned Latin Hypercube to choose sample points only in areas close to roads due to the difficult thorough access in the study area. I could use a code to create the points throughout the area, but I need to create a code to make the R only comes up with points close to this road. I've been using the packages "raster", "shapefile", "clhs", "proj4" and "rgdal" and I have the shapefiles of the road, the raster of distance from the road, and so forth. Thanks for any kind of help. Sergio -- View this message in context: http://r.789695.n4.nabble.com/Conditioned-Latin-Hypercube-Sampling-within-determined-distance-tp4633974.html Sent from the R help mailing list archive at Nabble.com.
John Kane
2012-Jun-20 15:33 UTC
[R] Conditioned Latin Hypercube Sampling within determined distance
So what have you tried so far? The posting guidelines asks for code and, where possible, data. Have a look at ?dput for a possible way to dupply data. John Kane Kingston ON Canada> -----Original Message----- > From: shenrike at hotmail.com > Sent: Wed, 20 Jun 2012 07:32:21 -0700 (PDT) > To: r-help at r-project.org > Subject: [R] Conditioned Latin Hypercube Sampling within determined > distance > > Hi all, > > I am a begginer in R and I have been trying to use the Conditioned Latin > Hypercube to choose sample points only in areas close to roads due to the > difficult thorough access in the study area. I could use a code to create > the points throughout the area, but I need to create a code to make the R > only comes up with points close to this road. I've been using the > packages > "raster", "shapefile", "clhs", "proj4" and "rgdal" and I have the > shapefiles > of the road, the raster of distance from the road, and so forth. > > Thanks for any kind of help. > > Sergio > > -- > View this message in context: > http://r.789695.n4.nabble.com/Conditioned-Latin-Hypercube-Sampling-within-determined-distance-tp4633974.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.____________________________________________________________ FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more!
John Kane
2012-Jun-20 20:38 UTC
[R] Conditioned Latin Hypercube Sampling within determined distance
Sorry that should be 'supply' data John Kane Kingston ON Canada> -----Original Message----- > From: shenrike at hotmail.com > Sent: Wed, 20 Jun 2012 10:53:52 -0700 (PDT) > To: r-help at r-project.org > Subject: Re: [R] Conditioned Latin Hypercube Sampling within determined > distance > > Hi John Kane, > > I have created a shapefile for the road, I have the rasters that I want > to > use for creating the cLHS and I have created the points in the area, but > I > don't know how to condition them to be created within a certain distance > from the road. I didn't understand why you meant dupply data. > > Thank you > > Sergio > > -- > View this message in context: > http://r.789695.n4.nabble.com/Conditioned-Latin-Hypercube-Sampling-within-determined-distance-tp4633974p4634008.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!