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

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

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

                                        Evaluate Expression Involving Function Arrays
                                         涉及功能阵列,计算表达式

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

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

Evaluates any expression involving one or more function arrays (fasp objects) and returns another function array.
评估任何涉及一个或多个功能阵列(fasp对象)的表达,并返回另一个函数数组。


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


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



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

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


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


参数:dotonly
Logical. Passed to eval.fv.
逻辑。传递到eval.fv。


Details

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

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

A function array (object of class "fasp") can be regarded as a matrix whose entries are functions. Objects of this kind are returned by the command alltypes.
函数阵列(对象类的"fasp")可以看作是一个矩阵,其作品是功能。这样的对象被返回的命令alltypes。

Suppose X is an object of class "fasp". Then eval.fasp(X+3) effectively adds 3 to the value of every function in the array X, and returns the resulting object.
假设X是一个对象类"fasp"。然后eval.fasp(X+3)有效地增加了3的每一个函数的值在数组中X,并返回生成的对象。

Suppose X and Y are two objects of class "fasp" which are compatible (for example the arrays must have the same dimensions). Then  eval.im(X + Y) will add the corresponding functions in each cell of the arrays X and Y, and return the resulting array of functions.
假设X和Y的是两个对象的类"fasp"兼容(例如阵列必须具有相同的尺寸)。 eval.im(X + Y)将增加相应的功能在每个单元的阵列X和Y,并返回结果数组的功能。

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

First eval.fasp determines which of the variable names in the expression expr refer to objects of class "fasp". The expression is then evaluated for each cell of the array using eval.fv.
第一个eval.fasp决定的变量名中的表达expr类的对象"fasp"。然后计算每个单元的数组使用eval.fv的表达。

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


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

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


(作者)----------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----------

fasp.object, Kest
fasp.object,Kest


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


  # manipulating the K function[操作的K功能的]
  data(amacrine)
  K <- alltypes(amacrine, "K")

  # expressions involving a fasp object[涉及专上学生资助计划对象的表达式]
  eval.fasp(K + 3)
  L <- eval.fasp(sqrt(K/pi))

  # expression involving two fasp objects[表达涉及两个专上学生资助计划对象]
  eval.fasp(K - L)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-13 20:11 , Processed in 0.038292 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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