gen_bkg_noise | R Documentation |
This function generates background noise data with specified parameters such as the number of samples, number of dimensions, mean, and standard deviation.
gen_bkg_noise(n, num_dims, mean, sd)
n |
Number of samples to generate. |
num_dims |
Number of dimensions (columns) of the data. |
mean |
Mean of the normal distribution used to generate noise (default is 0). |
sd |
Standard deviation of the normal distribution used to generate noise (default is 1). |
A matrix containing the generated background noise data, with
n
rows and num_dims
columns.
# Generate background noise with custom mean and standard deviation
set.seed(20240412)
gen_bkg_noise(n = 50, num_dims = 3, mean = 5, sd = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.