Learn R Programming

climtrends (version 1.0.6)

peaksP: Use symbols to represent the level of significance

Description

peaksP returns a certain number of marks depending on the level of significance achieved by the value statistic.

Usage

peaksP(dataSeries,span=3)

Arguments

dataSeries
time series of climate data
span
span, odd number

Value

symbols representing the level of significance.

Source

R equivalent of Splus peaks() function

References

R equivalent of Splus peaks() function

Examples

Run this code
peaksP(c(1,2,3,4,3,2,1))

Run the code above in your browser using DataLab