Compute the Proportion of Dual Solutions in MUSIC Data
Source:R/SeaSondeRCS_MUSIC.R
seasonder_MUSICComputePropDualSols.RdThis function calculates the proportion of "dual" solutions in the MUSIC data
associated with a given SeaSondeRCS object. It updates the object with the computed
proportion as a new attribute.
Value
A SeaSondeRCS object with the calculated proportion of "dual" solutions stored as
an attribute. This attribute can be accessed using a relevant getter function.
Details
The function performs the following steps:
Extracts the MUSIC data from the provided
SeaSondeRCSobject.Computes the proportion of entries in the
retained_solutioncolumn of the MUSIC data that are labeled as "dual".Updates the
SeaSondeRCSobject by adding the computed proportion as an attribute usingseasonder_setSeaSondeRCS_MUSIC_dual_solutions_proportion.
See also
seasonder_getSeaSondeRCS_MUSIC to retrieve the MUSIC data.
seasonder_setSeaSondeRCS_MUSIC_dual_solutions_proportion to set the computed proportion.