Provides a summary of quality flags and steady-state segments.
Arguments
- flagged_streams
A data frame returned by
flag_quality()
.
Value
A list with summary statistics:
- total_points
Total number of data points
- flagged_points
Number of flagged points
- flagged_pct
Percentage of flagged points
- steady_state_points
Number of steady-state points
- steady_state_pct
Percentage in steady-state
- quality_score
Overall quality score (0-1)
- hr_spike_pct
Percentage with HR spikes
- pw_spike_pct
Percentage with power spikes
- gps_drift_pct
Percentage with GPS drift
Examples
if (FALSE) { # \dontrun{
flagged_data <- flag_quality(stream_data)
quality_summary(flagged_data)
} # }