plot.hyperframe(spatstat)
plot.hyperframe()所属R语言包:spatstat
Plot Entries in a Hyperframe
图一个超帧中的条目
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plots the entries in a hyperframe, in a series of panels, one panel for each row of the hyperframe.
图解一个特超帧,在一系列的面板,一个面板的特超帧的每一行中的条目。
用法----------Usage----------
## S3 method for class 'hyperframe'
plot(x, e, ..., main, arrange=TRUE,
nrows=NULL, ncols=NULL,
parargs=list(mar=c(1,1,3,1) * marsize),
marsize=0.1)
参数----------Arguments----------
参数:x
Data to be plotted. A hyperframe (object of class "hyperframe", see hyperframe).
要绘制的数据。超帧(类的对象"hyperframe",看到hyperframe“)。
参数:e
How to plot each row. Optional. R language expression that will be evaluated in each row of the hyperframe to generate the plots.
如何绘制每一行。可选。 R语言表达式,在每行中的特超帧将被评估,以生成的图。
参数:...
Extra arguments controlling the plot (when e is missing).
额外的参数控制图(当e丢失)。
参数:main
Overall title for the array of plots.
阵列的图的总冠军。
参数:arrange
Logical flag indicating whether to plot the objects side-by-side on a single page (arrange=TRUE) or plot them individually in a succession of frames (arrange=FALSE).
逻辑标志指示是否要绘制的对象侧的侧上的单页(arrange=TRUE)或单独绘制出来,在一个连续的帧(arrange=FALSE)。
参数:nrows,ncols
Optional. The number of rows/columns in the plot layout (assuming arrange=TRUE). You can specify either or both of these numbers.
可选。的行/列中的图布局(假设arrange=TRUE“)。您可以指定这些数字的一方或双方。
参数:parargs
Optional list of arguments passed to par before plotting each panel. Can be used to control margin sizes, etc.
可选的参数列表传递给par然后绘制每个面板。可用于控制边距大小,等等。
参数:marsize
Optional scale parameter controlling the sizes of margins between the panels.
可选的的尺度参数控制面板的大小差距。
Details
详细信息----------Details----------
This is the plot method for the class "hyperframe".
这是plot方法的类"hyperframe"。
The argument x must be a hyperframe (like a data frame, except that the entries can be objects of any class; see hyperframe).
的参数x必须是一个超帧(如数据框,不同的条目可以被任何类的对象,见hyperframe)。
This function generates a series of plots, one plot for each row of the hyperframe. If arrange=TRUE (the default), then these plots are arranged in a neat array of panels within a single plot frame. If arrange=FALSE, the plots are simply executed one after another.
此功能产生了一系列的图,超帧的每一行的一个图。如果arrange=TRUE(默认值),然后曲线都被安排在一个板整齐地排列在一个单一的图框。如果arrange=FALSE,图简单的执行一个接一个。
Exactly what is plotted, and how it is plotted, depends on the argument e. The default (if e is missing) is to plot only the first column of x. Each entry in the first column is plotted using the generic plot command, together with any extra arguments given in ....
究竟什么是策划,以及它是如何绘制,取决于参数e。默认值(e如果丢失)绘制的第一列x。在第一列中的每个条目使用的通用plot命令,连同任何额外的参数在...绘制。
If e is present, it should be an R language expression involving the column names of x. The expression will be evaluated once for each row of x. It will be evaluated in an environment where each column name of x is interpreted as meaning the object in that column in the current row. See the Examples.
如果e存在,它应该是一个的R语言表达涉及的列名x。表达式将被计算一次的每一行x。这将是评估的环境中,每个列名x被解释为意味着该列中的当前行中的对象。请参阅范例。
值----------Value----------
NULL.
NULL。
(作者)----------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----------
hyperframe, with.hyperframe
hyperframe,with.hyperframe
实例----------Examples----------
H <- hyperframe(id=1:10)
H$X <- with(H, rpoispp(100))
H$D <- with(H, distmap(X))
# points only[点只]
plot(H[,"X"])
plot(H, plot(X, main=id))
# points superimposed on images[点图像上叠加]
plot(H, {plot(D, main=id); plot(X, add=TRUE)})
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|