add_error_to_motif | R Documentation |
This function adds an additive noise to a given motif based on specified parameters. The noise is generated as a percentage of the standard deviation of the motif.
add_error_to_motif(or_y, noise_str, start_point, end_point, k)
or_y |
A numeric vector representing the original motif values. |
noise_str |
A string or numeric vector indicating the structure of the noise to be added. |
start_point |
A numeric vector indicating the starting points of motifs. |
end_point |
A numeric vector indicating the ending points of motifs. |
k |
An integer representing the current iteration or motif index. |
Add Error to Motif
A numeric vector of the motif values with added noise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.