lognorm_noise: Function factory to apply log-normal noise to a vector

View source: R/pertruber.R

lognorm_noiseR Documentation

Function factory to apply log-normal noise to a vector

Description

Function factory to apply log-normal noise to a vector

Usage

lognorm_noise(sd = 0.1)

Arguments

sd

the standard deviation of noise to apply.

Value

a function

Examples


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


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