validate_SeaSondeRAPM_BEAR: Validate BEAR Attribute for a SeaSondeRAPM Object

View source: R/SeaSondeRAPM.R

validate_SeaSondeRAPM_BEARR Documentation

Validate BEAR Attribute for a SeaSondeRAPM Object

Description

This function validates if the provided BEAR is a numeric vector and if its length matches the number of columns in the calibration_matrix of the given SeaSondeRAPM object. It also validates that the bearings are between -180 and 180 degrees.

Usage

validate_SeaSondeRAPM_BEAR(vector, seasonde_apm_obj)

Arguments

vector

The numeric vector to be validated.

seasonde_apm_obj

The SeaSondeRAPM object for compatibility check.

Value

Returns TRUE if the validation passes.


SeaSondeR documentation built on June 8, 2025, 10:50 a.m.