Learn R Programming

geo (version 1.4-3)

Open.curve: Open smooth curve through positions

Description

A smooth curve is fitted to the positions with natural spline as implemented in function ns.

Usage

Open.curve(gogn, df = nrow(gogn)/2, n = 10)

Arguments

gogn
Data frame of positions to be smoothed
df
Degrees of freedom
n
Number of points returned per data point

Value

Data frame of positions with components
lat, lon
in decimal degrees