adjustHeight: Adjust Profile Height

adjustHeightR Documentation

Adjust Profile Height

Description

Adjusts the height of a single profile (adds a delta value to ALL data points). This is necessary if GPS measurement heights of two profiles differ systematically.

Usage

adjustHeight(object, delta)

## S4 method for signature 'Profile'
adjustHeight(object, delta)

Arguments

object

a single Profile.

delta

positive or negative value.

Value

adjusted profile

See Also

GpsCoordinates-class, Profile-class

Examples

p3 <- new(
  "Profile",
  title = "Profile 3",
  processedData =
    new("ProcessedData",
        address = system.file("extdata/processed/p3_DipolDipol_S-N.xyz",
                  package='geoelectrics')),
  rawData =
    new("RawData",
        address = system.file("extdata/raw/p3_DipolDipol_S-N.dat",
                  package='geoelectrics')),
  measurementType = "DipolDipol",
  gpsCoordinates =
    new("GpsCoordinates",
        address = system.file("extdata/gps/p3.txt",
                  package='geoelectrics'))
)

p3 <- adjustHeight(p3, -10)

geoelectrics documentation built on Feb. 16, 2023, 8:06 p.m.