tripGrid.interp(trip)
tripGrid.interp()所属R语言包:trip
Generate a grid of time spent using approximate methods
生成网格的时间花了使用近似方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Create a grid of time spent from an object of class trip by approximating the time between locations for separate trip events.
创建一个网格近似对象类trip的独立的跳闸事件之间的时间地点,花费的时间。
用法----------Usage----------
tripGrid.interp(x, grid = NULL, method = "count", dur = NULL, ...)
interpequal(x, dur = NULL, quiet = FALSE)
countPoints(x, dur = 1, grid = NULL)
kdePoints(x, h = NULL, grid =NULL, resetTime = TRUE, ...)
参数----------Arguments----------
参数:x
object of class trip
行级对象
参数:grid
GridTopology - will be generated automatically if NULL
GridTopology - 将自动生成NULL
参数:method
name of method for quantifying time spent, see Details
名称的方法量化花费的时间,详细
参数:...
other arguments passed to interpequal or kdePoints
其他参数传递给interpequal或kdePoints
参数:dur
The \"dur\"ation of time used to interpolate between available locations (see Details)
\“总指数\”功能明显下降,所用的时间之间进行插值可用的位置(见详情)
参数:quiet
logical - report on difference between time summed and time in trip?
逻辑 - 报告之间的时间相加,时间在旅行上的区别吗?
参数:h
numeric vector of two elements specifying bandwidth for kernel density
两个元素指定带宽核密度数字矢量
参数:resetTime
logical - reset the values of the kde grid to match the sum of the total time?
逻辑 - 复位的KDE格的值相匹配的总和的总时间?
Details
详细信息----------Details----------
This set of functions was the the original tripGrid from prior to version 1.1-6. tripGrid should be used for more exact and fast calculations assuming linear motion between fixes.
这组功能是原来的tripGrid从以前的版本1.1-6。 tripGrid应该用于更准确,快速的计算,假设直线运动之间的修复。
The intention is for tripGrid.interp to be used for exploring approximate methods of line-to-cell gridding.
我们的目的是为tripGrid.interp用于游览线到单元网格划分的近似方法。
Trip locations are first interpolated, based on an equal-time spacing between records. These interpolated points are then "binned" to a grid of cells. The time spacing is specified by the "dur"ation argument to interpequal in seconds (i.e. dur = 3600 is used for 1 hour). Shorter time periods will require longer computation with a closer approximation to the total time spent in the gridded result.
旅行的地点是第一内插的,平等的基础上之间的时间间隔记录。这些内插点,然后一个单元网格“分级”。 “期间”ATION参数指定的时间间隔interpequal秒(即dur = 36001小时)。更短的时间内,将需要更长的计算更接近于花费的总时间在网格的结果。
Currently there are methods "count" and "kde" for quantifying time spent, corresponding to the functions "countPoints" and "kdePoints". "kde" uses kernel density to smooth the locations, "count" simply counts the points falling in a grid cell.
目前,有方法“伯爵”和“KDE”量化时间花了,对应的的功能“countPoints”和“kdePoints”的。 “KDE”使用内核密度到平滑的地点,“计数”只计算网格单元格中的点。
值----------Value----------
tripGrid returns an object of class SpatialGridDataFrame, with one column "z" containing the time spent in each cell in seconds. If kdePoints is used the units are not related to the time values and must be scaled for further use.
tripGrid返回类的一个对象SpatialGridDataFrame,含有所花费的时间以秒为单位的每个单元格中的“z”的一列。如果使用kdePoints单位是不相关的时间值,并必须进一步使用缩放。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|