Skip to contents

Checks whether a peak detection algorithm is registered.

Usage

has_peak_algorithm(name)

Arguments

name

Algorithm name.

Value

Logical TRUE if algorithm exists, FALSE otherwise.

Examples

has_peak_algorithm("prominence")  # TRUE
#> [1] TRUE
has_peak_algorithm("nonexistent") # FALSE
#> [1] FALSE