Learn R Programming

geo (version 1.4-3)

geotows: Plot tows as line segments

Description

The function gets 4 arguments i.e position of begininning and end of segments. If the first argument is given col.names gives the column names in the data frame describing the position.

Usage

geotows(lat, lon, lat1, lon1, col = 1, col.names = c("kastad.n.breidd", "kastad.v.lengd", "hift.n.breidd", "hift.v.lengd"), ...)

Arguments

lat
Vector of start position latitudes, dataframe of start positions given in columns lat and lon or dataframe with start and end positions given as columns col.names.
lon
When given, vector of start position longitudes.
lat1
When given, vector of end position latitudes or a data frame of end positions given in columns lat and lon.
lon1
When given, vector of end position longitudes.
col
Color of line segments.
col.names
Column names of start lat and lon and end lat and lon when tows are given in a single dataframe. Defaults to column names in the Hafro/MRI database table fiskar.stodvar.
...
Additional arguments to geolines.

See Also

geolines