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

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

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

                                        Set up a list object that can be used by the hoods2d function.
                                         建立一个列表对象,可用于的hoods2d功能。

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

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

Creates a list object with all of the information needed to run the hoods2d function, as well as other neighborhood approach functions.
创建一个列表对象,与所有的运行hoods2d的功能,以及其他附近方法的功能所需要的信息。


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


hoods2dPrep(Fcst.name, Vx.name, thresholds = NULL, Pe = NULL, levels = NULL, max.n = NULL,  subset = NULL, loc = NULL, qs = NULL, units = NULL, smooth.fun = "hoods2dsmooth", smooth.params = NULL)



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

参数:Fcst.name
character giving the name of a forecast matrix object.
字符预测矩阵对象的名称。


参数:Vx.name
character giving the name of an observed matrix object.  The matrix should have same dimension as that for Fcst.name.
字符观察到的矩阵对象的名称。矩阵应具有相同的尺寸,Fcst.name。


参数:thresholds
(optional) numeric vector of length q >= 1, or or q X 2 matrix giving the thresholds to be applied.  If a matrix, the first column are thresholds to be applied to the forecast field, and the second column for the observed field.  If NULL, then thresholds are taken to be the quantiles: 0, .10, .25, .33, .50, .66, .75, .90, .95 of each field, resp.
(可选)数值向量为长度q> = 1,或或q X 2以施加给的阈值的矩阵。如果一个矩阵中,第一列的阈值要施加到预测字段,所观察到的字段和第二列。如果为NULL,则阈值的位数:0,0.10,0.25,0.33,0.50,0.66,0.75,0.90,0.95的每个字段分别。


参数:Pe
(optional) numeric vector of length q >= 1 to be applied to the fields sPy and possibly sPx (see help file for hoods2d).  If NULL, then it is taken to be the most relaxed requirement (i.e., that an event occurs at least once in a neighborhood) of 'Pe'=1/(nlen^2), where nlen is the length of the neighborhood.
(可选)数字矢量长度为Q = 1,应用领域的间谍,并可能SPX(帮助文件hoods2d)。如果为NULL,那么它采取的是最宽松的要求(即,事件发生时至少有一次在一个社区)PE= 1 /(nlen ^ 2),,nlen是附近的长度。


参数:levels
numeric vector giving the successive values of the smoothing parameter.  For example, for the default method, these are the neighborhood lengths over which the levels^2 nearest neighbors are averaged for each point.  Values should make sense for the specific smoothing function.  For example, for the default method, these should be odd integers.
数值向量给平滑参数的连续值。例如,对于默认的方法,这些都是每个点附近的长度超过平均水平^ 2的近邻。值应该是有意义的具体平滑功能。例如,对于默认的方法,这些都应该是奇数。


参数:max.n
(optional) single numeric giving the maximum neighborhood length to use.  Only used if levels are not passed.
(可选)最大的社区的长度,使用单一的数字。只使用,如果水平不通过。


参数:subset
(optional) numeric vector indicating a subset of points over which to calculate the final statistics.  If given, then fields will be smoothed over the entire forecast/observed field, but resulting statistics will only be computed on the subset.  The subset numbers should be within the range 1 to n*m, where the forecast (observed) field has dimension n X m.  The subset is applied to the concatenation of the fields, which concatenates the columns together.
(可选)数字矢量点的一个子集,在其上计算出最终的统计。如果给出,则字段将被平滑在整个预测/观测场,但所得的统计数字,只计算上的子集。的子集数应该是范围为1到n * m,其中的预测(实测值)字段具有尺寸N×M个。该子集被施加到串联的字段,该连接的列在一起。


参数: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矩阵为经度/纬度坐标为验证集。目前,还没有用于任何东西,但可以具有使用在将来,例如,在图上添加图邻里平滑的字段。


参数:qs
(optional) character vector giving the values of the thresholds.  This is primarily used, e.g., if the thresholds differ for the forecast and observed fields (e.g., if quantiles are used instead of hard values).  This information is used by hoods2dPlot.
(可选)字符向量,赋予值的阈值。这种方法主要用于,例如,如果不同的阈值的预测和观测的字段(例如,如果分位数的硬值代替)。此信息被hoods2dPlot。


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


参数:smooth.fun
character giving the name of a smoothing function to be applied.  Default is an average over the n^2 nearest neighbors, where n is taken to be each value of the levels argument.
字符给要应用的名称的平滑函数。默认值是N ^ 2的近邻,其中n是levels参数的每个值的平均值。


参数:smooth.params
additional arguments to kernel2dsmooth (kenrel2dmeitsjer) for the specific smoothing function.  The default method does not take any extra parameters.
其他参数kernel2dsmooth(kenrel2dmeitsjer)为特定的平滑功能。默认的方法并不需要任何额外的参数。


Details

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

This function is simply used to simplify later analyses and plotting.  It gathers all of the information needed to run hoods2d, plot.hoods2d and hoods2dPlot.
此功能只是用来简化后的分析和绘图。收集所有运行hoods2d,plot.hoods2d和hoods2dPlot所需要的信息。


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

A list object with components:
一个List对象的组件:


参数: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给予核查集的尺寸。


参数:Nxy
numeric giving the total number of grid points in the verification set (i.e., prod(xdim)).
数值给网格点的总数在验证集(即,prod(xdim))。


参数:levels
numeric vector giving the desired neighborhood lengths.
数字矢量给所需的邻里长度。


参数:max.n
numeric giving the largest neighborhood length to be applied.
数值给要施加最大的附近的长度。


参数:thresholds
q X 2 matrix whose columns give the thresholds for the forecast and observed fields, reps.
Q X 2的矩阵,其列给出阈值的预测和观察到的领域,销售代表。


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


参数:Pe
numeric vector of length q >= 1 (i.e., same as number of rows of threshold) giving the thresholds for the smoothed binary fields.
数值向量为长度q> = 1(即,相同的阈值的行数),得到的阈值的平滑二进制字段。


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


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


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


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


Eric Gilleland



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

hoods2d
hoods2d


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


data(geom001)
data(geom000)
data(ICPg240Locs)
hold <- hoods2dPrep( "geom001", "geom000", thresholds=c(0.01,50.01), levels=c(1, 3, 5, 9, 17, 33, 65, 129, 257), loc=ICPg240Locs, units="in/100")

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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