| synth_spec_noise_api | R Documentation |
synth_spec objectAdd, update, or remove noise from a synth_spec object
add_custom_noise(synth_spec, ...)
synth_spec |
A |
... |
Optional named lists with two elements, |
A new synth_spec object.
A new synth_spec object with added custom noise.
synth_spec <- synth_spec()
noise1 <- noise(
add_noise = TRUE,
noise_func = add_noise_kde,
noise_params = list(
n_ntiles = 2
)
)
add_custom_noise(
synth_spec = synth_spec,
list("vars" = c("a", "b", "c"), "noise" = noise1)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.