Skip to contents

This function generates random noise dimensions by adding wavy patterns.

Usage

gen_wavydims3(n = 500, p = 4, data)

Arguments

n

A numeric value (default: 500) representing the sample size.

p

A numeric value (default: 4) representing the number of dimensions.

data

A matrix representing the first three dimensions of the data structure.

Value

A data containing the generated random noise dimensions.

Examples

set.seed(20240412)
df <- gen_scurve(n = 500, p = 4) |> as.matrix()
#> Error in gen_scurve(n = 500, p = 4): unused argument (p = 4)
gen_wavydims3(n = 500, p = 4, data = df)
#> Error in gen_wavydims3(n = 500, p = 4, data = df): data should be a matrix.