represampling.kmeans.bootstrap(sperrorest)
represampling.kmeans.bootstrap()所属R语言包:sperrorest
Spatial block bootstrap at the level of spatial k-means clusters
空间块引导在水平空间的k-means聚类
译者:生物统计家园网 机器人LoveR
描述----------Description----------
represampling.kmeans.bootstrap performs a non-overlapping spatial block bootstrap by resampling at the level of irregularly-shaped partitions generated by partition.kmeans.
represampling.kmeans.bootstrap执行一个非重叠的空间块引导通过重新采样在水平的不规则形的分区生成的partition.kmeans。
用法----------Usage----------
represampling.kmeans.bootstrap(data,
coords = c("x", "y"), repetition = 1, nfold = 10,
nboot = nfold, seed1 = NULL, oob = FALSE, ...)
参数----------Arguments----------
参数:nfold
see partition.kmeans
看到partition.kmeans
参数:nboot
see represampling.factor.bootstrap
看到represampling.factor.bootstrap
参数:oob
see represampling.factor.bootstrap
看到represampling.factor.bootstrap
参数:...
additional arguments to be passed to partition.kmeans
被传递partition.kmeans的其他参数
参数: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)采样前的数据初始化随机数生成器设置。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|