Skip to contents

Setter for SiteName

Usage

seasonder_setSeaSondeRAPM_SiteName(seasonde_apm_obj, new_value)

Arguments

seasonde_apm_obj

SeaSonderAPM object

new_value

new value

Value

The modified SeaSondeRAPM object with updated SiteName.

Examples

# Minimal example for seasonder_setSeaSondeRAPM_SiteName
apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
#> seasonder_createSeaSondeRAPM:  APM object created successfully.
new_site_name <- attributes(apm_obj)$SiteName
apm_obj <- seasonder_setSeaSondeRAPM_SiteName(apm_obj, new_site_name)
print(attributes(apm_obj)$SiteName)
#> character(0)