Learn R Programming

BetaBit (version 2.2)

read_gpx: Read GPX File

Description

Reads data in GPX form. Examples of tourist routes saved in this format can be downloaded from mapa-turystyczna.pl.

Usage

read_gpx(path, name = NULL, uniform = TRUE, dx = 25, span = 0.1)

# S3 method for gpx_file plot(x, ..., type = "profile", color = "magenta")

Arguments

path

path the the gpx file with information about the route

name

name of the route

uniform

if TRUE then route will be converted into a uniform grid of points

dx

if uniform is TRUE then dx is the grid size

span

if uniform is TRUE then span is smoothing parameter

x

routs to be plotted

...

other parameters

type

what should be plotted? 'profile' for profiles, 'difference' for derivative, 'boxplot' absolute derivative

color

names of colors for lines

Author

Przemyslaw Biecek