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

R语言 spatstat包 eval.fv()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 13:26:36 | 显示全部楼层 |阅读模式
eval.fv(spatstat)
eval.fv()所属R语言包:spatstat

                                        Evaluate Expression Involving Functions
                                         涉及函数的表达式进行求值

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

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

Evaluates any expression involving one or more function value (fv) objects, and returns another object of the same kind.
计算任何表达式涉及一个或多个函数值(FV)对象,并返回相同类型的另一对象。


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


  eval.fv(expr, envir, dotonly=TRUE)



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

参数:expr
An expression.
一个表达式。


参数:envir
Optional. The environment in which to evaluate the expression.
可选。的环境中,计算表达式的。


参数:dotonly
Logical. See Details.
逻辑。查看详细信息。


Details

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

This is a wrapper to make it easier to perform pointwise calculations with the summary functions used in spatial statistics.
这是一个包装,使其更容易进行逐点计算的汇总函数中使用的空间统计。

An object of class "fv" is essentially a data frame containing several different statistical estimates of the same function. Such objects are returned by Kest and its relatives.
的一个目的的类"fv"本质上是一个数据框包含相同的功能的几个不同的统计估计。这样的对象是经由Kest及其亲属。

For example, suppose X is an object of class "fv" containing several different estimates of the Ripley's K function K(r), evaluated at a sequence of values of r. Then eval.fv(X+3) effectively adds 3 to  each function estimate in X, and returns the resulting object.
例如,假设X是类的一个对象"fv"Ripley的K函数K(r),评估值r序列包含几个不同的估计。然后eval.fv(X+3)有效地增加了3到每个函数估计在X,并返回生成的对象。

Suppose X and Y are two objects of class "fv" which are compatible (in particular they have the same vector of r values). Then  eval.im(X + Y) will add the corresponding function values in X and Y, and return the resulting function.
假设X和Y两个类的对象的"fv"是兼容的(特别是它们具有相同的向量r值)。 eval.im(X + Y)会添加相应的函数值X和Y,并返回所得到的函数。

In general, expr can be any expression involving (a) the names of objects of class "fv", (b) scalar constants, and (c) functions which are vectorised. See the Examples.
在一般情况下,expr可以是任何表达式涉及:(一)名称的对象的类"fv",(二)标量常数,及(c)是矢量化的功能。请参阅范例。

First eval.fv determines which of the variable names in the expression expr refer to objects of class "fv". Each such name is replaced by a vector containing the function values. The expression is then evaluated. The result should be a vector; it is taken as the new vector of function values.
第一个eval.fv决定的变量名中的表达expr类的对象"fv"。每一个这样的名字被替换为一个向量,包含的函数值。然后评价该表达式。的结果应该是一个向量,它被当作新的向量的函数值。

The expression expr must be vectorised. There must be at least one object of class "fv" in the expression. All such objects must be compatible.
必须向量化的表达expr。必须有类"fv"在表达式中的至少一个对象。所有这些对象必须是兼容的。

If dotonly=TRUE (the default), the expression will be evaluated only for those columns of an "fv" object that contain values of the function itself (rather than values of the derivative of the function, the hazard rate, etc). If dotonly=FALSE, the expression will be evaluated for all columns.
如果dotonly=TRUE(默认值),表达式将被评估的"fv"对象包含列值的函数本身(而不是价值的衍生工具的功能,风险率,等)。如果dotonly=FALSE,表达式将被评估的所有列。

For example the result of Fest includes several columns containing estimates of the empty space function F(r), but also includes an estimate of the hazard h(r) of F(r). Transformations that are valid for F may not be valid for h. Accordingly, h would normally be omitted from the calculation.
例如Fest的结果包括多个列,含有估计的空的空间的功能F(r),但还包括危险h(r)F(r)的估计。转换,是有效F的为h可能是无效的。因此,h通常会被省略从计算。

The columns of an object x that represent the function itself are identified by its “dot” names, fvnames(x, "."). They are the columns normally plotted by plot.fv and identified by the symbol "." in plot formulas in plot.fv.
列的对象x本身的功能是确定由“点”的名字,fvnames(x, ".")。他们是的列通常绘制plot.fv和识别的符号"."地积公式在plot.fv。


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

Another object of class "fv".
另一个对象的类"fv"。


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


Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>




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

fv.object, Kest
fv.object,Kest


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


  # manipulating the K function[操作的K功能的]
  X <- rpoispp(42)
  Ks <- Kest(X)

  eval.fv(Ks + 3)
  Ls <- eval.fv(sqrt(Ks/pi))

  # manipulating two K functions[操纵两个K功能]
  Y <- rpoispp(20)
  Kr <- Kest(Y)
  
  Kdif <- eval.fv(Ks - Kr)
  Z <- eval.fv(sqrt(Ks/pi) - sqrt(Kr/pi))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-13 19:59 , Processed in 0.024247 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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