seasonder_setSeaSondeRAPM_StationCode {SeaSondeR}R Documentation

Setter for StationCode

Description

Setter for StationCode

Usage

seasonder_setSeaSondeRAPM_StationCode(seasonde_apm_obj, new_value)

Arguments

seasonde_apm_obj

SeaSonderAPM object

new_value

new value

Value

The modified SeaSondeRAPM object with updated StationCode.

Examples

# Minimal example for seasonder_setSeaSondeRAPM_StationCode
apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
new_station_code <- attr(apm_obj, "StationCode")
apm_obj <- seasonder_setSeaSondeRAPM_StationCode(apm_obj, new_station_code)
print(attributes(apm_obj)$StationCode)

[Package SeaSondeR version 0.2.8 Index]