gen_wavydims3: Generate Random Noise Dimensions With Wavy Pattern

View source: R/util.R

gen_wavydims3R Documentation

Generate Random Noise Dimensions With Wavy Pattern

Description

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()
gen_wavydims3(n = 500, p = 4, data = df)


cardinalR documentation built on Aug. 21, 2025, 5:27 p.m.