plot_extrema: Plot Local Extrema Object

Description Usage Arguments Note Author(s) References Examples

View source: R/plot_extrema.R

Description

This function returns a ggplot visualization based on the results of the extrema function.

Usage

1

Arguments

x

The only parameter is a 'local.extrema' S3 class object.

Note

The function validates that the input is the appropriate class; if it is not, the function will return NULL.

Author(s)

mjfii

References

base, ggplot2

Examples

1
2
rv <- extrema(slv, 5)
plot_extrema(rv)

mjfii/Local-Extrema documentation built on Oct. 22, 2017, 9:33 p.m.