Learn R Programming

geoSpectral (version 0.17.5)

spc.STI.stdistance: Report the space and time distance of each row of an STI-inherited object

Description

Function that reports the space and time distance of each row of the STI-inherited object searched to the corresponding row of the STI-inherited object master

Usage

spc.STI.stdistance(master, searched, report = F)

Arguments

master

An STI-inherited object

searched

An STI-inherited object

report

Logical. Default value is FALSE

Value

Outputs a data.frame, with two columns : time2master ("difftime", in seconds) and distance2master ("numeric", in meters)

Details

Reports the space and time distance of each row of the STI-inherited object searched to the corresponding row of the STI-inherited object master.