deviate_wave: Return a deviate vector with a wave-shape trend

Description Usage Arguments Details Value References

View source: R/deviates.R

Description

This function returns a deviate vector with the right properties to test the presence of a deviate to flatness with a sine trend in a rank histogram, as introduced in (Zamo et al. 2021) or (Zamo, 2016).

Usage

1

Arguments

k

an integer. The number of components.

Details

Although the deviate vector is not a rank histogram, this function returns an rkhist object for the sake of simplicity. This allows for instance to plot the vector.

Value

An rkhist object.

References


flatness documentation built on June 29, 2021, 9:08 a.m.