seasonder_setSeaSondeRAPM_AntennaBearing {SeaSondeR}R Documentation

Setter for AntennaBearing

Description

Setter for AntennaBearing

Usage

seasonder_setSeaSondeRAPM_AntennaBearing(seasonde_apm_obj, new_value)

Arguments

seasonde_apm_obj

SeaSonderAPM object

new_value

new value

Value

The modified SeaSondeRAPM object with updated AntennaBearing.

Examples

# Minimal example for seasonder_setSeaSondeRAPM_AntennaBearing
apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
new_bearing <- 45
apm_obj <- seasonder_setSeaSondeRAPM_AntennaBearing(apm_obj, new_bearing)
print(attributes(apm_obj)$AntennaBearing)

[Package SeaSondeR version 0.2.8 Index]