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

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

[复制链接]
发表于 2012-9-30 11:24:05 | 显示全部楼层 |阅读模式
scanGPSTrack(SoDA)
scanGPSTrack()所属R语言包:SoDA

                                        Scan GPS Track Data into a GPSTrack class Object
                                         扫描GPS跟踪的数据到一个GPSTrack的类对象。

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

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

Attempts to scan a file or other connection containing GPS track information in a typical format, and to store the data in an object from class GPSTrack. Optional arguments define the layout of lines and the format used for date/time information
尝试扫描的文件或其它连接,含有GPS轨迹在一个典型的格式的信息,并且将数据存储在一个对象从类GPSTrack。可选的参数定义线的布局和格式用于日期/时间信息


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


scanGPSTrack(con, fields, dateTimeFormat)



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

参数:con
A file name or open connection from which to read the data.  
文件名或打开的连接来读取数据。


参数:fields
An optional list for use by scan to interpret the fields in each line of the file.  The list must include the names in the default list, which is list(date = "", time = "", lat = 0, lon = 0, el = 0).  Note that other fields can be included to skip over data not needed for the track information, and that the field names can be longer, provided that the versions here match by partial matching.  
由scan用于解释的文件的每一行中的字段的可选列表。该列表必须包括在默认列表的名称,这是list(date = "", time = "", lat = 0, lon = 0, el = 0)。需要注意的是,可以包含其他领域,跳过不需要的曲目信息,数据的字段名称可以是更长的时间,这里的版本匹配部分匹配。


参数:dateTimeFormat
An optional character string format for the date and time, in the scheme used by strptime.  The default is the standard date/time format,  "%Y-%m-%d%H:%M:%S".  
一个可选的字符串格式的日期和时间,该计划使用strptime。默认值是标准的日期/时间格式,"%Y-%m-%d%H:%M:%S"。


Details

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

Data is read from the connection by scan(), and the date and time components are then re-read by strptime, and a new object of class "GPSTrack" is created from the results.  The scan takes in all the lines available.
数据读取连接scan()的日期和时间组件,然后重新读取strptime,并创建一个新的对象类"GPSTrack"的结果。扫描时间的所有行。


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

An object of GPSTrack containing the coordinates and time as scanned.
一个目的GPSTrack含有作为扫描的坐标和时间。


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

GPSTrack
GPSTrack

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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