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

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

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

                                        Resampling objects with repetition, i.e. sets of partitionings or boostrap samples
                                         重采样对象重复设置的分割或自举样本

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

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

Functions for handling represampling objects, i.e. lists of resampling objects.
处理represampling对象的功能,即listSresampling对象的。


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


  as.represampling(object, ...)

  ## S3 method for class 'list'
as.represampling(object, ...)

  ## S3 method for class 'represampling'
print(x, ...)

  is.represampling(object)



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

参数:object
object of class represampling, or a list to be coerced to this class
被裹挟到这个类的对象的类represampling,或列表


参数:x
object of class represampling
对象的类represampling


参数:...
currently not used
目前未使用


Details

详细信息----------Details----------

represampling objects are (names) lists of resampling objects. Such objects are typically created by partition.cv, partition.kmeans, represampling.disc.bootstrap and related functions.
represampling对象(名称)列出的resampling对象。这样的对象通常是创建partition.cv,partition.kmeans,represampling.disc.bootstrap和相关的功能。

In r-repeated k-fold cross-validation, for example, the corresponding represampling object has length r, and each of its r resampling objects has length k.
r重复k倍交叉验证,例如,在对应的represampling对象的长度r,每个r<X >对象的长度resampling,。

as.resampling.list coerces object to class represampling while coercing its elements to resampling objects. Some validity checks are performed.
as.resampling.list逼object类represampling,同时强迫的元素,以resampling对象。有些有效性进行检查。


值----------Value----------

as.represampling methods return an object of class represampling with the contents of object.
as.represampling方法返回一个类的对象represampling的内容object中。


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

resampling, partition.cv, partition.kmeans, represampling.disc.bootstrap, etc.
resampling,partition.cv,partition.kmeans,represampling.disc.bootstrap,等等。


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


data(ecuador) # Muenchow et al. (2012), see ?ecuador[明肖等。 (2012年),厄瓜多尔,看到了吗?]
# Partitioning by elevation classes in 200 m steps:[分区海拔班,200 m步:]
fac = factor( as.character( floor( ecuador$dem / 300 ) ) )
summary(fac)
parti = as.resampling(fac)
# a list of lists specifying sets of training and test sets,[一个列表的列表,指定的训练集和测试集,]
# using each factor at a time as the test set:[使用每个因素在某一时间作为测试集:]
str(parti)
summary(parti)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 16:29 , Processed in 0.039703 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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