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

R语言 trip包 trip-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-10-1 12:15:38 | 显示全部楼层 |阅读模式
trip-class(trip)
trip-class()所属R语言包:trip

                                        Class "trip" ~~~
                                         类“之旅”~~~

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

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

An extension of "SpatialPointsDataFrame" by including "TimeOrderedRecords".
扩展的"SpatialPointsDataFrame"由包括"TimeOrderedRecords"。


类对象----------Objects from the Class----------

Objects can be created by calls of the form  trip(obj = "SpatialPointsDataFrame", TORnames = "TimeOrderedRecords". The object contains all the slots present within a SpatialPointsDataFrame, particularly data which contains columns of at least those specified by TOR.columns
可以创建对象通过调用的形式trip(obj = "SpatialPointsDataFrame", TORnames = "TimeOrderedRecords"。该对象包含了所有的插槽,在一个SpatialPointsDataFrame,特别是data包含的列至少对这些指定的TOR.columns


插槽----------Slots----------

  


TOR.columns:Object of class "character" specifiying the DateTime and ID columns (in that order)  in data  
TOR.columns:类的对象"character"的specifiying的的DateTime和ID列(按顺序)data

data:Object of class "data.frame" the native data object for a Spatial data frame
data:类"data.frame"本机的数据对象的空间数据框架的对象

   Also,  other slots usual to a SpatialPointsDataFrame
此外,其他插槽往常一样到SpatialPointsDataFrame


扩展----------Extends----------

Class "TimeOrderedRecords", directly. Class "SpatialPointsDataFrame", directly. Class "SpatialPoints", by class "SpatialPointsDataFrame". Class "Spatial", by class "SpatialPointsDataFrame".
类"TimeOrderedRecords",直接。类"SpatialPointsDataFrame",直接。类"SpatialPoints",的类"SpatialPointsDataFrame"的。类"Spatial",的类"SpatialPointsDataFrame"的。


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

Most of the methods available are by virtue of the sp package. Some, such as split.data.frame have been added to SPDF so that trip has the same functionality.     
大多数可用的方法是凭借的sp包。有些人,如split.data.frame已被添加到SPDF,使行具有相同的功能。

tripsignature("ANY"): try to return a trip object
旅行signature("ANY"):尝试返回行程对象

tripsignature(obj = "SpatialPointsDataFrame", TORnames = "ANY"  The usual construction
旅行signature(obj = "SpatialPointsDataFrame", TORnames = "ANY"通常的建设

  


[signature(x = "trip"): subset rows or columns as per  SpatialPointsDataFrame.  In the case that TimeOrderedRecords columns are dropped, the object  reverts to the straight Spatial version.  
[signature(x = "trip"):子集的行或列,每SpatialPointsDataFrame。对象以TimeOrderedRecords列被丢弃的情况下,恢复到直线空间版本。

linessignature(x = "trip"): add lines to a plot with separate  colours for each trip      
行signature(x = "trip"):添加一个图线,用不同的颜色每趟

plotsignature(x = "trip", y = "missing"): plot as  SpatialPoints  
图signature(x = "trip", y = "missing"):图SpatialPoints

pointssignature(x = "trip"): add points to a plot using the  Spatial coordinates  
点signature(x = "trip"):加分的地积使用的空间坐标

recentersignature(obj = "trip"): perform coordinate recentering,  from the [-180,180] convention to [0, 360  
recentersignature(obj = "trip"):执行坐标recentering,从[-180,180]惯例为[0,360

showsignature(object = "trip"): print a short summary of the trip data      
显示signature(object = "trip"):打印行了一个简短的总结数据

summarysignature(object = "trip"): print a summary as per  SpatialPointsDataFrame including a summary of the trip data
总结signature(object = "trip"):打印的行程数据的汇总摘要,每SpatialPointsDataFrame

textsignature(x = "trip"): add text to a plot using Spatial coordinates
文本signature(x = "trip"):将文本添加到一个图,使用空间坐标

tripsignature(obj = "trip", TORnames = "TimeOrderedRecords"): (re)-create a trip object using TimeOrderedRecords
旅行signature(obj = "trip", TORnames = "TimeOrderedRecords"):(重新)创建一个旅对象,使用TimeOrderedRecords

tripsignature(obj = "trip", TORnames = "ANY"): (re)-create a trip object by some other means
旅行signature(obj = "trip", TORnames = "ANY"):(重新)创建一个行程对象通过一些其他手段

     


subsetsignature(x = "trip",  ...): subset a trip in the expected manner.     
子集signature(x = "trip",  ...):子集,按预期的方式旅行。


警告----------Warning ----------

There are some kludges to allow trip to do things, such as replace POSIXt column data using "$<-.trip" and "[[<-.trip" which should not be
允许trip做的事情,如更换POSIXt的列数据使用"$<-.trip"和"[[<-.trip"这不应该是有一些组装机


(作者)----------Author(s)----------


Michael D. Sumner



参见----------See Also----------

trip for examples of directly using the class.
trip直接使用的类的实例。

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-29 10:44 , Processed in 0.026136 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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