[R] How to sample x-y coordinates from GIS files

2005-07-06 Thread Kum-Hoe Hwang
Hi Gurus! I have a job that is to get randomly samples from point-based GIS data (sp called shape GIS files) under the total sum resctricted. For example, I would like to take random smaples under the 1000 persons in each city. The randomly sampled persons should not be over 1000 any case.

Re: [R] How to sample x-y coordinates from GIS files

2005-07-06 Thread halldor bjornsson
Check out the maptools package. It allows you to read ESRI shapefiles. On 7/6/05, Kum-Hoe Hwang [EMAIL PROTECTED] wrote: Hi Gurus! I have a job that is to get randomly samples from point-based GIS data (sp called shape GIS files) under the total sum resctricted. For example, I would like

Re: [R] How to sample x-y coordinates from GIS files

2005-07-06 Thread ecoinfo
GIS-related packages in R: shapefiles maptools sp spdep adehabitat GRASS PBSmapping etc. --Xiaohua On 7/6/05, Kum-Hoe Hwang [EMAIL PROTECTED] wrote: Hi Gurus! I have a job that is to get randomly samples from point-based GIS data (sp called shape GIS files) under the total sum