validate_SeaSondeRAPM_BEAR {SeaSondeR} | R 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.
[Package SeaSondeR version 0.2.8 Index]