powered by
This function generates random noise dimensions to be added to the coordinates of a data structure.
gen_noisedims(n = 500, p = 4, m = rep(0, p), s = rep(2, p))
A data containing the generated random noise dimensions.
A numeric value (default: 500) representing the sample size.
A numeric value (default: 4) representing the number of dimensions.
A numeric vector (default: c(0, 0, 0, 0)) representing the mean along each dimensions.
A numeric vector (default: c(2, 2, 2, 2)) representing the standard deviation along each dimensions.
set.seed(20240412) gen_noisedims(n = 500, p = 4, m = c(0, 0, 0, 0), s = c(2, 2, 2, 2))
Run the code above in your browser using DataLab