Learn R Programming

gmwm (version 2.0.0)

gen_wn: Generate a white noise process

Description

Generates a white noise process with variance parameter sigma.

Usage

gen_wn(N, sigma2 = 1)

Arguments

N
An integer for signal length.
sigma2
A double that contains process variance.

Value

wn A vec containing the white noise.

Examples

Run this code
gen_wn(10, 1.5)

Run the code above in your browser using DataLab