Skip to contents

Adds a masked version of the P0 column (e.g., false alarm probability) based on the duty cycle specified by the DQ flags. If a DQ flag indicates downtime (DQ == 0), the corresponding P0 value is replaced with NA.

Usage

add_P0_DQ(proc, DQ = "BURST_CAT2")

Arguments

proc

A data frame containing the processed anomaly data with a P0 column and one or more DQ columns.

DQ

A character vector of one or more DQ channel names. Defaults to "BURST_CAT2".

Value

A `data.frame` with added column(s) P0_<DQ> that contain P0 values masked by duty cycle flags.