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

R语言 spacetime包 stplot()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:13:30 | 显示全部楼层 |阅读模式
stplot(spacetime)
stplot()所属R语言包:spacetime

                                         produce trellis plot for STxDF object
                                         产生STxDF对象的格子图

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

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

create trellis plot for ST objects
ST对象创建网格的图


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


stplot(obj, ...)
stplot.STFDF(obj, names.attr = as.character(index(obj@time)), ...,
        as.table = TRUE, at, cuts = 15, animate = 0, mode = "xy", scaleX = 0,
        auto.key = TRUE, key.space = "right", type = "l", do.repeat = TRUE)
stplot.STIDF(obj, names.attr = NULL, ..., as.table = TRUE, by =
        c("time", "burst", "id"), scales = list(draw = FALSE),
        xlab = NULL, ylab = NULL, type = "p", number = 6,
        overlap = 0, asp, col = 1, panel = panel.stpointsplot,
        sp.layout = NULL, xlim = bbox(obj@sp)[1, ], ylim =
        bbox(obj@sp)[2, ])




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

参数:obj
object of a class deriving from ST
对象的一类源于ST


参数:names.attr
names that will be used in the strip  
名,将用于在钢带


参数:as.table
logical; if TRUE, time will increas from top to bottom; if FALSE, time will increase from bottom to top  
合乎逻辑;如果TRUE,时间会越来越从上到下的,如果为FALSE,从底部到顶部的时间将增加


参数:at
values at which colours will change; see levelplot
值的颜色会改变,见levelplot


参数:cuts
number of levels the range of the attribute would be divided into  
的级别数的范围内的属性将被划分成


参数:animate
numeric; if larger than 0, the number of seconds between subsequent animated time steps (loop; press ctrl-C or Esc to stop)  
数字,如果大于0,则后续的动画时间步长之间的秒数(循环;按Ctrl-C或Esc键停止)


参数:mode
plotting mode; if "xy", maps for time steps are plotted;  if "xt", a space-time plot is constructed (see argument scaleX, but read details below); if "ts", multiple-locations time series are plotted in a single plot, or in a separate panel for each attribute; if "tp" single- or multi-attribute time series are plotted in multiple panels, one panel per location.  
绘图模式,如果“XY”,时间步长的图绘制,如果“XT”,空间的构造图(参数scaleX,但阅读下面的细节);如果“TS”,多个位置的时间序列中被绘制在同一张图中,或在一个单独的面板为每个属性;若“TP”单 - 或多属性的时间序列绘制在多个板,每个位置的一个面板。


参数:scaleX
integer: 0, 1 or 2; when mode is "xt", used to determine whether the index of the spatial location is shown (0), the x coordinate (1) or the y coordinate (2).  
的整数:0,1或2;当mode是“XT”,使用,以确定是否示出的空间的位置的索引(0),x坐标(1)或(2)的y坐标。


参数:auto.key
see xyplot
看到xyplot


参数:key.space
character; see xyplot
字符; xyplot


参数:by
conditioning variable(s); in case time is conditioning variable, it will be classified using equal.count, using parameters overlap and number
调节变量(S)的情况下time是调节变量,它会被归类equal.count,使用参数overlap和number


参数:scales
scales drawing; see scales argument of xyplot
尺度图;scales参数的xyplot的


参数:xlab
x-axis label
X轴标签


参数:ylab
y-axis label  
Y轴标签


参数:type
character; use 'l' for lines, 'p' for symbols, 'b' for both lines and symbols  
字符;使用l的线,p的的符号,b的两条线和符号


参数:do.repeat
logical; repeat the animation in an infinite loop?  
逻辑在一个无限循环重复的动画吗?


参数:number
see argument by
看参数by


参数:overlap
see argument by  
看参数by


参数:asp
aspect ratio of plot  
纵横比图


参数:col
color for symbols  
颜色符号


参数:panel
panel function  
面板功能


参数:sp.layout
list or NULL; see spplot
列表或NULL,看到spplot,


参数:...
arguments passed on to spplot in case of stplot.STFDF, or to xyplot in case of stplot.STIDF
参数传递给spplot在情况stplot.STFDF,,或xyplot的情况下,stplot.STIDF


参数:xlim
numeric, x range
数字,X取值范围


参数:ylim
numeric, y range
数字,y范围


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

In non-animation and "xy" mode, stplot is a wrapper around spplot, that automically plots each time stamp in a panel.  The returned value is is a lattice plot.
在非动画和“XY”模式,stplot中是一个包装周围spplot,automically图面板中的每一个时间戳记。返回的值是一个格子图。

In "xt" mode, a space-time plot with space on the x-axis and time on the y-axis is plotted. By default, the space ID is plotted on the x-axis, as space can be anything (points, polygons, grid cells etc). When scaleX is set to 1 or 2, the x- resp. y-coordinates of the spatial locations, obtained by coordinates, is used instead. Beware: when the x-coordinate is plotted, and for each (x,t) element multiple y-coordinates are sent to the plot, it is not clear which (x,y,t) value becomes the plotted value, so slicing single y values is adviced – no checking is done. The returned value is is a lattice plot.
在“XT”模式,空间 - 时间曲线上与空间中的x轴和y轴的时间作图。缺省情况下,绘制在x-轴的空间ID,作为空间(点,多边形,网格单元等)可以是任何东西。当scaleX被设置为1或2中,x分别。的空间位置,通过以下方式获得坐标,y坐标来代替。小心:时的x坐标绘制,并为每个(的x,t)的元素被发送到多个y坐标的图,它是不明确(的x,y,t)的值变为绘制的值,因此切片单y值谏 - 没有进行检查。返回的值是一个格子图。

In animation mode (animate > 0), single maps are animated in an endless loop, with animate seconds between each. No proper value is returned: the loop needs to be interrupted by the user.
在动画模式(animate> 0),单图动画的无限循环,animate秒之间。没有适当的值被返回:循环需要由用户被中断。


方法----------Methods----------




stplot signature(x = "STFDF"): plots object of class STFDF
stplotsignature(x = "STFDF"):图对象的类STFDF




stplot signature(x = "STSDF"): plots object of class STFDF
stplotsignature(x = "STSDF"):图对象的类STFDF




stplot signature(x = "STIDF"): plots object of class STFDF
stplotsignature(x = "STIDF"):图对象的类STFDF


注意----------Note----------

vignette("spacetime") contains several examples
小插曲(“时空”)包含了几个例子

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-9 19:07 , Processed in 0.029268 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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