SimulateSinusoidal: Generate sinusoidal time series.

Description Usage Arguments Value See Also

Description

Function that outputs specified sinusoidal waves.

Usage

1
2
SimulateSinusoidal(n, period, max.loc = 1, vert.translation = 0,
  amplitude = 1, scale.x = FALSE)

Arguments

n

the length of the simulated vector.

period

the length of one full sinusoidal period.

max.loc

the index of the maximum of the sinusoidal curve.

vert.translation

a numeric for the vertical displacement of the sinusoidal curve from 0.

amplitude

numeric for the amplitude of the sinusoidal curve. Must be nonnegative.

scale.x

boolean. If TRUE, scale the sinusoidal curve to have mean 0 and standard deviation 1 before returning.

Value

specified sinusoidal curve as a vector

See Also

Other Simulate.time.series: SimulateAR1, SimulateCorrelated, SimulateDummy


google/amss documentation built on May 20, 2019, 5:05 p.m.