Skip to contents

Get the version value from a SeaSondeR object

Usage

seasonder_getVersion(seasonder_obj)

Arguments

seasonder_obj

A SeaSondeR object.

Value

The version value.

Examples

# Get version from a SeaSondeRCS object
cs_file <- system.file("css_data/CSS_TORA_24_04_04_0700.cs", package = "SeaSondeR")
apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
#> seasonder_createSeaSondeRAPM:  APM object created successfully.
cs_obj <- seasonder_createSeaSondeRCS(cs_file, seasonder_apm_object = apm_obj)
#> new_SeaSondeRCS:  SeaSondeRCS object created successfully.
value <- seasonder_getVersion(cs_obj)
print(value)
#> [1] 1