white_noise: Function factory to apply white noise to a vector

View source: R/pertruber.R

white_noiseR Documentation

Function factory to apply white noise to a vector

Description

Function factory to apply white noise to a vector

Usage

white_noise(sd = 0.1)

Arguments

sd

the standard deviation of noise to apply.

Value

a function

Examples


f <- white_noise(1)
f(1:10)


deident documentation built on April 3, 2025, 6:14 p.m.