Skip to contents

Setter for ProcessingSteps

Usage

seasonder_setSeaSondeRAPM_ProcessingSteps(
  seasonde_apm_obj,
  new_value,
  append = TRUE
)

Arguments

seasonde_apm_obj

SeaSonderAPM object

new_value

new value

append

Append the new step to existing steps if TRUE; otherwise, replace previous steps.

Value

The modified SeaSondeRAPM object with updated ProcessingSteps.

Examples

# Minimal example for seasonder_setSeaSondeRAPM_ProcessingSteps
apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
#> seasonder_createSeaSondeRAPM:  APM object created successfully.
new_processing_steps <- "step1"
apm_obj <- seasonder_setSeaSondeRAPM_ProcessingSteps(apm_obj, new_processing_steps)
print(attributes(apm_obj)$ProcessingSteps)
#> [1] "2025-04-28 09:33:55.487261: Created from /home/runner/work/_temp/Library/SeaSondeR/css_data/MeasPattern.txt."
#> [2] "step1"