Learn R Programming

TrajDataMining (version 0.1.6)

douglasPeuckerRP: Douglas Peucker RP

Description

Method that reduces a trajectory spatially with first point and last point

Usage

douglasPeuckerRP(A1, firstp, lastp, dist)

# S4 method for Track,numeric,numeric,numeric douglasPeuckerRP(A1, firstp, lastp, dist)

Arguments

A1

track object

firstp

given first point

lastp

given last point

dist

distance

Examples

Run this code
# NOT RUN {
doug <- douglasPeuckerRP(A1,20,200,2000)

# }

Run the code above in your browser using DataLab