Learn R Programming

geo (version 1.4-3)

Closed.curve: Closed smooth curve through positions

Description

A smooth curve is fitted to the positions with periodic spline as implemented in function ps.

Usage

Closed.curve(gogn, df = round(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

See Also

ps