找回密码
 注册
查看: 567|回复: 0

R语言 spcosa包 spsample-methods()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:30:55 | 显示全部楼层 |阅读模式
spsample-methods(spcosa)
spsample-methods()所属R语言包:spcosa

                                        Spatial Sampling of Compact Strata
                                         空间紧凑型分层抽样中

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Methods for sampling in compact strata.
在紧凑的地层取样的方法。


方法----------Methods----------




x = "CompactStratification", n = "missing", type = "missing" samples the centroids of each stratum.
X =“CompactStratification”,N =“失踪”,“失踪”的样品各阶层的重心。




x = "CompactStratification", n = "numeric", type = "missing" stratified simple random sampling with n samples per stratum.
所述=“CompactStratification”,N =“数字”,“失踪”分层简单随机抽样的n地层样品每。




x = "CompactStratificationEqualArea", n = "numeric", type = "character" if type = "composite", stratified simple random sampling of n composites.
X =的“CompactStratificationEqualArea”,N =“数字”,“字”,如果type = "composite",分层简单随机抽样的n复合材料。




x = "CompactStratificationPriorPoints", n = "missing", type = "missing" spatial infill sampling
X =“CompactStratificationPriorPoints”,N =“失踪”,“失踪”的空间加密采样


参见----------See Also----------

stratify for stratification, spsample for other types of spatial sampling, and estimate for inference.
stratify分层,spsample其他类型的空间采样,并estimate推论。


实例----------Examples----------


## Not run: [#不运行:]

# read a vector representation of the `Farmsum' field (by means of rgdal-package)[读Farmsum字段的向量表示(通过的rgdal封装)]
shpFarmsum <- readOGR(dsn = system.file("maps", package = "spcosa"), layer = "farmsum")

# stratify `Farmsum' into 50 strata[分层Farmsum到50阶层]
myStratification <- stratify(shpFarmsum, nStrata = 50)

# sample two sampling units per stratum[每个阶层的样品抽样单位]
mySamplingPattern <- spsample(myStratification, n = 2)

# plot the resulting sampling pattern[绘制得到的采样模式]
plot(myStratification, mySamplingPattern)

## End(Not run)[#(不执行)]

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-17 14:35 , Processed in 0.020534 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表