add_noise: Add Gaussian noise to cues in a data set.

View source: R/add_noise.R

add_noiseR Documentation

Add Gaussian noise to cues in a data set.

Description

Adds Gaussian noise to cues in a data set.

Usage

add_noise(data, cues, method = c("sample", "marginalize"), Sigma)

Arguments

data

data.frame or tibble.

cues

Column names of cues in data.

method

If "sample" then a sample of noise is added to the input. If "marginalize" then each observation is transformed into the marginal distribution that results from convolving the input with noise. Currently, only "sample" is implemented (default: "sample")

Sigma

Covariance matrix of noise.

Value

Same as data.


hlplab/MVBeliefUpdatr documentation built on March 29, 2025, 10:42 p.m.