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

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

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

                                        Extract Subset of Function Array
                                         提取数组的功能的子集

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

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

Extract a subset of a function array (an object of class "fasp").
提取的函数数组的一个子集(类的一个对象"fasp")。


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


  ## S3 method for class 'fasp'
x[I, J, drop=TRUE,...]



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

参数:x
A function array. An object of class "fasp".  
功能阵列。对象的类"fasp"。


参数:I
any valid expression for a subset of the row indices of the array.  
任何有效的表达式的行索引的数组的一个子集。


参数:J
any valid expression for a subset of the column indices of the array.  
任何有效的表达式的一个子集的列索引的数组。


参数:drop
Logical. When the selected subset consists of only one cell of the array, if drop=FALSE the result is still returned as a 1 * 1 array of functions (class "fasp") while if drop=TRUE it is returned as a function (class "fv").  
逻辑。当选定的子集中包含的只有一个单元的数组,如果drop=FALSE的结果仍然是一个1 * 1阵列功能(返回类"fasp"),而如果drop=TRUE它返回的函数(类"fv")。


参数:...
Ignored.
忽略。


Details

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

A function array can be regarded as a matrix whose entries are functions. See fasp.object for an explanation of function arrays.
作为一个矩阵,它的条目的功能可被视为一个函数数组。见fasp.object功能阵列的解释。

This routine extracts a sub-array according to the usual conventions for matrix indexing.
这个例程中提取子阵列,根据矩阵索引通常的惯例。


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

A function array (of class "fasp"). Exceptionally, if the array has only one cell, and if drop=TRUE, then the result is a function value table (class "fv").
函数阵列(类"fasp")。在特殊情况下,如果数组只有一个单元,如果drop=TRUE,那么结果是一个函数值表(类"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----------

fasp.object
fasp.object


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


# Lansing woods data - multitype points with 6 types[蓝星树林数据 - 多类型分6种]
data(lansing)

# compute 6 x 6 array of all cross-type K functions[计算6×6阵列的全部为十字型K功能]
a <- alltypes(lansing, "K")

# extract first three marks only[只提取前三个分]
b <- a[1:3,1:3]
## Not run: plot(b)[#不运行曲线(b)]
# subset pertaining to hickories[子集有关的山核桃]
h <- a[levels(lansing$marks) == "hickory", ]
## Not run: plot(h)[#不运行曲线(h)]

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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