Learn R Programming

geoelectrics (version 0.2.2)

GpsCoordinates-class: GPS Coordinates Class

Description

A class to handle gps coordinates.

Arguments

Slots

address

address of the gps ascii file

exact

data frame that contains measured gps coordinates

relative

relative coordinates, normalized to (0,0)

lm

linear model of the measured gps coordinates

lmRelative

linear model of relative coordinates

See Also

Profile-class, ProfileSet-class, adjustHeight, calcRelativeCoords

Examples

Run this code
gpsCoordinates = new('GpsCoordinates', address = system.file('extdata/gps/p1.txt',
                 package='geoelectrics'))

data(sinkhole)
sinkhole@profiles[[1]]@gpsCoordinates
sinkhole@profiles[[1]]@gpsCoordinates@address
sinkhole@profiles[[1]]@gpsCoordinates@exact
sinkhole@profiles[[1]]@gpsCoordinates@lm
sinkhole@profiles[[1]]@gpsCoordinates@relative
sinkhole@profiles[[1]]@gpsCoordinates@lmRelative

Run the code above in your browser using DataLab