Skip to contents

Setter for SiteOrigin

Usage

seasonder_setSeaSondeRAPM_SiteOrigin(seasonde_apm_obj, new_value)

Arguments

seasonde_apm_obj

SeaSonderAPM object

new_value

new value

Value

The modified SeaSondeRAPM object with updated SiteOrigin.

Examples

apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
#> seasonder_createSeaSondeRAPM:  APM object created successfully.
new_site_origin <- attributes(apm_obj)$SiteOrigin
apm_obj <- seasonder_setSeaSondeRAPM_SiteOrigin(apm_obj, new_site_origin)
print(attributes(apm_obj)$SiteOrigin)
#>  Latitude Longitude 
#> 42.201267 -8.801883