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

R语言 SpatialVx包 FeatureSuite()函数中文帮助文档(中英文对照)

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

                                         Wrapper function to perform feature-based spatial verification
                                         包装函数来执行基于特征的空间验证

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

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

Wrapper function to perform feature-based spatial verification.
包装函数来执行基于特征的空间验证。


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


FeatureSuite(prep.object, fun.object, verbose = FALSE)
FeatureSuitePrep(Fcst.name, Vx.name, loc = NULL, units = NULL)
FeatureFunPrep(identfun = NULL, identfun.args = NULL, mergefun = NULL, mergefun.args = NULL, matchfun = NULL, matchfun.args = NULL, analysisfun = NULL, analysisfun.args = NULL)



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

参数:prep.object
list object as output from the FeatureSuitePrep function.  
作为输出FeatureSuitePrep功能的列表对象。


参数:fun.object
list object as output from the FeatureFunPrep function.  
作为输出FeatureFunPrep功能的列表对象。


参数:Fcst.name, Vx.name
character giving the name of the fields in the verification set.
字符给验证集合中的字段的名称。


参数:loc
(optional) numeric n*m X 2 matrix giving lon/lat coordinates for the verification set.  Currently, this is not used for anything, but may have a use in the future, e.g., for adding a map to plots of neighborhood smoothed fields.
(可选)数字N * M×2矩阵为经度/纬度坐标为验证集。目前,还没有用于任何东西,但可以具有使用在将来,例如,在图上添加图邻里平滑的字段。


参数:units
(optional) character giving the name of the units of the verification set.
(可选的)字符给予核查集的单位的名称。


参数:identfun,mergefun,matchfun,analysisfun
character specifying a function for performing feature: (i) identification, (ii) merging, (iii) matching and (iv) analyzing the resulting (possibly merged and/or matched) features.  The arguments mergefun and matchfun may be left NULL, in which case no merging and/or matching of features will be carried out.  
字符,指定执行功能的功能:(i)确定,(二)合并,(三)配套及(iv)分析的结果(可能合并和/或匹配)功能。的参数mergefun和matchfun可能是左NULL,在这种情况下,没有进行合并和/或匹配功能。


参数:identfun.args,mergefun.args,matchfun.args,analysisfun.args
list objects containing relevant optional arguments to identfun, mergefun, matchfun, and analysisfun.  these may be left NULL.  See Details section for specific arguments that each function must take.  Such arguments should not be supplied here.
列表对象包含有关可选参数identfun,mergefun,matchfun和analysisfun。这些可以保留为空。每个功能必须采取的具体参数的详细信息部分。这些论点不应该在这里提供。


参数:verbose
logical, should progress information be printed to the screen (including total lapsed time)?  
逻辑的发展,应以信息被打印到屏幕上(包括总失效的时间)?


Details

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

Several methods for spatial forecast verification have focused on identifying features within the fields of the verification set, and then analyzing them usually after merging and matching features (Ebert and McBride, 2000; Davis et al., 2006a, 2006b; Micheas et al., 2007; Wernli et al., 2008; Lack et al., 2010).  These functions are very generic functions that facilitate feature-based verification.  Some functions for performing specific methods are supplied such as, convthresh.
空间预测的几种方法验证的重点领域内的验证集上的识别特征,然后分析它们通常在合并和匹配功能(Ebert和麦克布莱德,2000年,Davis等人,2006年,2006年b; Micheas等。 2007年,万恩利等,2008;缺乏等,2010)。这些功能是非常通用的功能,促进功能为基础的验证。提供用于执行特定的方法,如convthresh某些功能。

Fcst.name and Vx.name should point to gridded fields that can be coerced to class "im" of package spatstat.  The functions must take object (same as prep.object above) as an input argument, as well as the following arguments (even if they are simply ignored within the function).  Additonal arguments are allowed, and can be accessed via the identfun.args, mergefun.args, etc. arguments above.
Fcst.name和Vx.name应指向网格的字段,可以强制转换为类“IM”的包spatstat。功能必须采取对象(相同prep.object以上)作为输入参数,以及参数(即使它们被简单地忽略函数内)。产生额外的参数是允许的,并且可通过的identfun.args,mergefun.args等论据以上。

identfun: object (same as prep.object above) is the only required input argument.
identfun:的对象(相同prep.object以上)是唯一所需的输入参数。

mergefun: If supplied, must take x (output from identfun).
mergefun:如果提供了,必须采取×(输出identfun)。

matchfun: If supplied, must take x (output from identfun), y (the output from mergefun).
matchfun:如果提供了,必须采取x(输出identfun),y(下的输出来自mergefun),。

analysisfun: x (output from identfun), y (output from mergefun), matches (output from matchfun).
analysisfun:×(输出来自identfun),y(下输出从mergefun),火柴(输出来自matchfun)。

The values returned by each of the above functions may vary substantially provided they all work together.
通过上述功能返回的值可能出现重大变化,他们全部一起。


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

FeatureSuite returns a list object with numbered components depending on the numbers of thresholds (if any) supplied with output from the analysisfun function as well as additional components:
FeatureSuite返回一个列表编号组件对象,根据阈值(如果有的话)的数目从analysisfun功能以及额外的组件输出附带:


参数:prep.obj
character naming the prep object used.
字符命名的准备使用的对象。


参数:fun.object
character naming the function obect supplied to the fun.object argument.
字符命名的的功能obect提供的fun.object参数。

FeatureSuitePrep returns a list object with components:
FeatureSuitePrep返回一个列表对象的组件:


参数:Fcst.name
character giving the name of the forecast matrix of the verification set.
给验证集的预测矩阵的名称的字符。


参数:Vx.name
character giving the name of the observed matrix of the verification set.
字符给验证集的名称,所观察到的矩阵。


参数:xdim
numeric vector of length 2 giving the dimensions of the verification set.
数值向量的长度为2给予核查集的尺寸。


参数:loc
Same as in Arguments above.
在参数上面相同。


参数:units
Same as in Arguments above.
在参数上面相同。

FeatureFunPrep returns a list object with components:
FeatureFunPrep返回一个列表对象的组件:


参数:identify
list object with components fun and args.
列表对象与组件的乐趣和args。


参数:merge
list object with components fun and args.
列表对象与组件的乐趣和args。


参数:match
list object with components fun and args.
列表对象与组件的乐趣和args。


参数:analysis
list object with components fun and args.
列表对象与组件的乐趣和args。

In each case, fun is a character naming a function, and args is a list object specifying any additional arguments beyond those required as stated in the Details section above.
在每一种情况下,有趣的是字符命名的功能,args是一个列表对象指定需要在“详细信息”一节所述以外的任何其他参数。


(作者)----------Author(s)----------



Eric Gilleland




参考文献----------References----------








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

connected, tiles, tess, as.im, convthresh
connected,tiles,tess,as.im,convthresh


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


x <- y <- matrix(0, 10, 12)
x[2:3,c(3:6, 8:10)] <- 1
y[c(4:7, 9:10),c(7:9, 11:12)] <- 1

hold <- FeatureSuitePrep("y", "x")

# Do SAL[做SAL]
holdfun <- FeatureFunPrep(identfun="salIDfun", analysisfun="saller")
look <- FeatureSuite( hold, holdfun)

## Not run: [#不运行:]
data(geom000)
data(geom002)
hold <- FeatureSuitePrep("geom002", "geom000")
holdfun <- FeatureFunPrep(identfun="salIDfun", identfun.args=list(thresh=0.1), analysisfun="saller")

look <- FeatureSuite(hold, holdfun)

## Try to make a good example!![#尝试做一个很好的例子!]
hold <- FeatureSuitePrep("pert004", "pert000")
holdfun <- FeatureFunPrep(identfun="convthresh", identfun.args=list(smoothpar=5.5, thresh=0.01), analysisfun="FeatureMatchAnalyzer")
look <- FeatureSuite(hold, holdfun)


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

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-10 17:23 , Processed in 0.023474 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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