You may want to look at sp::spsample, which can sample along lines, using different strategies.
Please mention the packages where you found the functions you used. On 11/13/2013 11:36 AM, Alaios wrote: > Hi all, > I have spatial field created with grf and I was wondering if I can sample in > lines, something that can resemble sampling outdoors at the streets. > Random sampling looks to far of what I want to have. > > there is in geodata package the sample.geodata but this looks like to be > random samples. > > I would like to thank you in advance for your help > > Regards > A. > [[alternative HTML version deleted]] > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > -- Edzer Pebesma Institute for Geoinformatics (ifgi), University of Münster Heisenbergstraße 2, 48149 Münster, Germany. Phone: +49 251 83 33081 http://ifgi.uni-muenster.de GPG key ID 0xAC227795
signature.asc
Description: OpenPGP digital signature
_______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo