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

R语言 sperrorest包 represampling.disc.bootstrap()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 15:04:05 | 显示全部楼层 |阅读模式
represampling.disc.bootstrap(sperrorest)
represampling.disc.bootstrap()所属R语言包:sperrorest

                                        Overlapping spatial block bootstrap using circular blocks
                                         采用圆形块重叠的空间块引导

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

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

represampling.disc.bootstrap performs a spatial block bootstrap by resampling at the level of rectangular partitions or 'tiles' generated by partition.tiles.
represampling.disc.bootstrap执行空间块引导水平的矩形分区或所产生的partition.tiles的砖重新取样。


用法----------Usage----------


  represampling.disc.bootstrap(data, coords = c("x", "y"),
    nboot, repetition = 1, seed1 = NULL, oob = FALSE, ...)



参数----------Arguments----------

参数:oob
logical (default FALSE): if TRUE, use the out-of-bag sample as the test sample (the complement of the nboot[1] test set discs, minus the buffer area as specified in the ... arguments to partition.disc); if FALSE, draw a second bootstrap sample of size nboot independently to obtain a test sample (sets of overlapping discs drawn with replacement)
逻辑(默认FALSE):如果TRUE,使用袋样品的测试样品(nboot[1]的测试集光盘,减去缓冲区域范围内的补...参数partition.disc);如果FALSE样品的尺寸,画第二个引导nboot独立地获得试验样品台(套重叠绘制更换光盘)


参数:nboot
number of bootstrap samples; you may specify different values for the training sample (nboot[1]) and for the test sample (nboot[2])
bootstrap样本数量,你可以指定不同的训练样本值(nboot[1])的测试样品(nboot[2])


参数:...
additional arguments to be passed to partition.disc; note that a buffer argument has not effect if oob=FALSE; see example below
额外的参数被传递到partition.disc,注意,buffer说法有没有效果,如果oob=FALSE;见下面的例子


参数:data
data.frame containing at least the columns specified by coords
data.frame的至少包含列指定的coords


参数:coords
vector of length 2 defining the variables in data that contain the x and y coordinates of sample locations
向量,长度为2data包含的x和y坐标的样本的位置定义的变量在


参数:repetition
numeric vector: cross-validation repetitions to be generated. Note that this is not the number of repetitions, but the indices of these repetitions. E.g., use repetition=c(1:100) to obtain (the 'first') 100 repetitions, and repetition=c(101:200) to obtain a different set of 100 repetitions.
数字向量:交叉验证的重复产生。注意,这是不重复的次数,但这些重复的指数。例如,使用repetition=c(1:100)(“第一个”)取得100个重复,和repetition=c(101:200)获得一组不同的重复100次。


参数:seed1
seed1+i is the random seed that will be used by set.seed in repetition i (i in repetition) to initialize the random number generator before sampling from the data set.
seed1+i是随机的种子,将用于set.seed重复i(irepetition)采样前的数据初始化随机数生成器设置。


注意----------Note----------

Performs nboot out of nrow(data) resampling of circular discs. This is an overlapping spatial block bootstrap where the blocks are circular.
执行nboot出nrow(data)重采样圆盘。这是一个重叠的空间块引导块是圆形的。


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


data(ecuador)
# Overlapping disc bootstrap:[重叠光盘引导:]
parti = represampling.disc.bootstrap(ecuador, radius=200, nboot=20, oob=FALSE)
plot(parti,ecuador)
# Note that a 'buffer' argument would make no difference because boostrap sets of discs are[需要注意的是一个“缓冲”的说法没有什么区别,因为自举的光盘]
# drawn independently for the training and test sample.[制定独立的训练和测试样本。]
#[]
# Overlapping disc bootstrap for training sample, out-of-bag sample as test sample:[重叠的训练样本,光盘引导袋样品测试样品:]
parti = represampling.disc.bootstrap(ecuador, radius=200, buffer=200, nboot=10, oob=TRUE)
plot(parti,ecuador)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 20:11 , Processed in 0.036466 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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