spgrass6-package(spgrass6)
spgrass6-package()所属R语言包:spgrass6
Interface between GRASS geographical information system and R
GRASSGEO信息系统和R之间的接口
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Interpreted interface between GRASS geographical information system, versions 6 and 7, and R, based on starting R from within the GRASS environment, or on running R stand-alone and creating a throw-away GRASS environment from within R. The interface uses classes defined in the sp package to hold spatial data.
解释接口之间的草GEO信息系统,版本6和7,R,R从内GRASS环境的基础上,或独立运行R和R.内的接口创建一个扔掉的GRASS环境,使用定义的类在保持空间数据的SP包。
Details
详细信息----------Details----------
Index:
指数:
(作者)----------Author(s)----------
Roger Bivand
Maintainer: Roger Bivand <Roger.Bivand@nhh.no>
实例----------Examples----------
if (nchar(Sys.getenv("GISRC")) > 0) {
require(rgdal)
soilsph <- readRAST6("soils.ph", ignore.stderr=TRUE, plugin=FALSE)
summary(soilsph)
grd <- gmeta2grd(ignore.stderr=TRUE)
grd
set.seed(1)
smple <- overlay(soilsph, spsample(soilsph, 200, "random"))
summary(smple)
writeVECT6(smple, "sp_dem", v.in.ogr_flags="overwrite", ignore.stderr=TRUE)
bugsDF <- readVECT6("bugsites", ignore.stderr=TRUE, mapset="PERMANENT")
summary(bugsDF)
vInfo("streams", ignore.stderr=TRUE)
vColumns("streams", ignore.stderr=TRUE)
vDataCount("streams", ignore.stderr=TRUE)
streams <- readVECT6("streams", type="line,boundary", remove.duplicates=FALSE, ignore.stderr=TRUE, plugin=FALSE)
summary(streams)
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|