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. Thank you in advance, -- Kum-Hoe Hwang, Ph.D. Phone : 82-31-250-3283 Email : phdhwang@gmail.com [[alternative HTML version deleted]]
Check out the maptools package. It allows you to read ESRI shapefiles. On 7/6/05, Kum-Hoe Hwang <phdhwang at gmail.com> 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 to take random smaples under the 1000 persons in > each city. > The randomly sampled persons should not be over 1000 any case. > Thank you in advance, > > -- > Kum-Hoe Hwang, Ph.D. > > Phone : 82-31-250-3283 > Email : phdhwang at gmail.com > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
GIS-related packages in R: shapefiles maptools sp spdep adehabitat GRASS PBSmapping etc. --Xiaohua On 7/6/05, Kum-Hoe Hwang <phdhwang@gmail.com> 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 to take random smaples under the 1000 persons in > each city. > The randomly sampled persons should not be over 1000 any case. > Thank you in advance, > > -- > Kum-Hoe Hwang, Ph.D. > > Phone : 82-31-250-3283 > Email : phdhwang@gmail.com > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >-- Xiaohua Dai, Dr. Centre for Systems Research, Durban Institute of Technology P.O.Box 953, Durban 4000, South Africa Tel: +27-31-2042737(O) Fax: +27-31-2042736(O) Mobile: +27-723682954 Email: daixiaohua@nju.org.cn, xiaohua@dit.ac.za Publications: http://www.getcited.org/?MBR=11061629 [[alternative HTML version deleted]]
Seemingly Similar Threads
- How to solve error : "cannot allocate vector of size 1208235 Kb"
- How to get multiple Correlation Coefficients
- what is scale function? Is it for variable transformation?
- Any packages for conducting AHP( Analytic Hierarchy Process) data
- how to get coefficients of regression or Anova