Learn R Programming

TrajDataMining (version 0.1.6)

partner: Partner

Description

Method to recognize trajectories that stay together, based on trajectory distance time series analysis

Usage

partner(A1, A2, dist, maxtime, mintime, datasource, tablename)

# S4 method for Track,Track,numeric,numeric,numeric,DataSourceInfo,character partner(A1, A2, dist, maxtime, mintime, datasource, tablename)

# S4 method for Track,Track,numeric,numeric,numeric,PostgreSQLConnection,character partner(A1, A2, dist, maxtime, mintime, datasource, tablename)

# S4 method for Track,Track,numeric,numeric,numeric,logical,missing partner(A1, A2, dist, maxtime, mintime, datasource, tablename)

# S4 method for TracksCollection,missing,numeric,numeric,numeric,missing,missing partner(A1, A2, dist, maxtime, mintime, datasource, tablename)

# S4 method for TracksCollection,TracksCollection,numeric,numeric,numeric,missing,missing partner(A1, A2, dist, maxtime, mintime, datasource, tablename)

# S4 method for TracksCollection,Track,numeric,numeric,numeric,missing,missing partner(A1, A2, dist, maxtime, mintime, datasource, tablename)

Arguments

A1

Represents a single trajectory followed by a person, animal or object.

A2

Represents a single trajectory followed by a person, animal or object.

dist

Ristance that two objects can stay apart

maxtime

Maximum time period that two objects can stay apart

mintime

Minimum time period that two objects must stay together

datasource

Is object class DataSourceInfo

tablename

The name of the table database

Value

List with begin time and end time stamps of two objects partner

Examples

Run this code
# NOT RUN {
partner(A1,A2,110792,2277,0,FALSE)

# }

Run the code above in your browser using DataLab