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

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

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

                                        Plot a Function Array
                                         画出一个函数数组

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

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

Plots an array of summary functions, usually associated with a point pattern, stored in an object of class "fasp". A method for plot.
绘制一个数组汇总函数,通常用点模式,存储在一个对象类"fasp"。的方法plot。


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


   ## S3 method for class 'fasp'
plot(x,formule=NULL, ...,
                        subset=NULL, title=NULL, samex=TRUE,
                        banner=TRUE, mar.panel=NULL,
                        outerlabels=TRUE, cex.outerlabels=1.25,
                        legend=FALSE)



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

参数:x
An object of class "fasp" representing a function array.  
类"fasp"一个函数数组对象。


参数:formule
A formula or list of formulae indicating what variables are to be plotted against what variable. Each formula is either an R language formula object, or a string that can be parsed as a formula. If formule is a list, its k-th component should be applicable to the (i,j)-th plot where x$which[i,j]=k.  If the formula is left as NULL, then plot.fasp attempts to use the component default.formula of x.  If that component is NULL as well, it gives up.  
公式或公式列表,表示要绘制哪些变量对变量。每一个配方一个R语言配方对象,或一个字符串,可以被解析为一个公式。如果formule是一个列表,它的k-th组件应适用的(i,j)-th图x$which[i,j]=k。如果公式留给NULL,那么plot.fasp试图,使用组件default.formulax。如果该组件是NULL,它放弃了。


参数:...
Arguments passed to plot.fv to control  the individual plot panels.   
参数传递给plot.fv控制个别图板。


参数:subset
A logical vector, or a vector of indices, or an expression or a character string, or a list of such, indicating a subset of the data to be included in each plot. If subset is a list, its k-th component should be applicable to the (i,j)-th plot where x$which[i,j]=k.  
逻辑向量,或指数的一个向量,或一个表达式或一个字符串,或这样的列表,每个小区被包括在指示的数据的一个子集。如果subset是一个列表,它的k-th组件应适用的(i,j)-th图x$which[i,j]=k。


参数:title
Overall title for the plot.  
图的总体标题。


参数:samex
Logical flag indicating whether all individual plots should have the same x axis limits. This makes it easier to compare the plots. It can only be set to FALSE if you are using the default plot style (i.e. only when formule is missing).  
逻辑标志指示是否所有个别图应具有相同的x轴的限制。这使得它更容易比较的图。它只能被设置为FALSE,如果你使用的是默认的打印样式(即只有当formule缺少)。


参数:banner
Logical. If TRUE, the overall title is plotted.  
逻辑。如果TRUE,绘制了总冠军。


参数:mar.panel
Vector of length 4 giving the value of the graphics parameter mar controlling the size of plot margins for each individual plot panel. See par.  
向量的长度为4给图形参数mar图边距为每个单独的图面板控制的大小的值。见par。


参数:outerlabels
Logical. If TRUE, the row and column names of the array of functions are plotted in the margins of the array of plot panels. If FALSE, each individual plot panel is labelled by its row and column name.  
逻辑。如果TRUE,行和列名称的数组的函数绘制的的图板阵列的边缘。如果FALSE,每个人的图面板标记的行和列名。


参数:cex.outerlabels
Character expansion factor for row and column labels of array.  
字符膨胀系数的数组的行和列标签。


参数:legend
Logical flag determining whether to plot a legend in each panel.  
逻辑标志确定是否绘制一个传说中的每个面板。


Details

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

An object of class "fasp" represents an array of summary functions, usually associated with a point pattern. See fasp.object for details. Such an object is created, for example, by alltypes.
一个对象的类"fasp"的表示一个数组的汇总函数,通常与点模式。见fasp.object的详细信息。这样的对象被创建,例如,通过alltypes。

The function plot.fasp is a method for plot.  It calls plot.fv to plot the individual panels.
函数plot.fasp的方法plot。它要求plot.fv绘制各个面板。

For information about the interpretation of the arguments formule and subset, see plot.fv.
有关的参数的解释formule和subset,看到plot.fv。

Arguments that are often passed through ... include col to control the colours of the different lines in a panel, and lty and lwd to control the line type and line width of the different lines in a panel. The argument shade can also be used to display confidence intervals or significance bands as filled grey shading. See plot.fv.
参数,往往是通过...col控制面板的颜色不同的线,和lty和lwd控制线型和线宽的在面板中的不同的行。参数shade也可以用来显示置信区间或意义的乐队充满灰色底纹。见plot.fv。

The argument title, if present, will determine the overall title of the plot. If it is absent, it defaults to x$title. Titles for the individual plot panels will be taken from x$titles.
参数title,如果存在的话,将决定了总冠军的图。如果它不存在,它默认为x$title的。对个别图面板的标题将采取从x$titles。


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

None.
无。


警告----------Warnings----------

(Each component of) the subset argument may be a logical vector (of the same length as the vectors of data which are extracted from x), or a vector of indices, or an expression such as expression(r<=0.2), or a text string, such as "r<=0.2".
(每个分量)subset参数可以是一个逻辑矢量(从x)的向量中提取的数据,相同的长度,或指数的一个向量,或表达如 expression(r<=0.2),或一个文本字符串,如"r<=0.2"。

Attempting a syntax such as subset = r<=0.2 (without wrapping r<=0.2 either in quote marks or in expression()) will cause this function to fall over.
尝试语法没有包装,如subset = r<=0.2(r<=0.2无论是在单引号或者在expression())将导致此功能下降。

Variables referred to in any formula must exist in the data frames stored in x.  What the names of these variables are will of course depend upon the nature of x.
在任何公式的变量必须存在于数据框存储在x。这些变量的名称是当然将取决于时的性质x。


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

alltypes, plot.fv, fasp.object
alltypes,plot.fv,fasp.object


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


   ## Not run: [#不运行:]
   # Bramble Canes data.[荆棘猎犬数据。]
   data(bramblecanes)

   X.G <- alltypes(bramblecanes,"G",dataname="Bramblecanes",verb=TRUE)
   plot(X.G)
   plot(X.G,subset="r<=0.2")
   plot(X.G,formule=asin(sqrt(cbind(km,theo))) ~ asin(sqrt(theo)))
   plot(X.G,fo=cbind(km,theo) - theo~r,subset="r<=0.2")

   # Simulated data.[模拟数据。]
   pp <- runifpoint(350, owin(c(0,1),c(0,1)))
   pp <- pp %mark% factor(c(rep(1,50),rep(2,100),rep(3,200)))
   X.K <- alltypes(pp,"K",verb=TRUE,dataname="Fake Data")
   plot(X.K,fo=cbind(border,theo)~theo,subset="theo<=0.75")
   
## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-16 00:20 , Processed in 0.020747 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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