| synth_spec_extractor_api | R Documentation |
synth_spec objectAdd, update, or remove extractors from a synth_spec object
add_custom_extractors(synth_spec, ...)
update_custom_extractors(synth_spec, ...)
remove_custom_extractors(synth_spec)
synth_spec |
A |
... |
Optional named lists with two elements, |
A new synth_spec object.
A new synth_spec object with added custom extractors.
A new synth_spec object with updated custom extractors.
A new synth_spec object with removed custom extractors.
synth_spec <- synth_spec()
add_custom_extractors(
synth_spec = synth_spec,
list("vars" = c("a", "b", "c"), "extractor" = parsnip::extract_fit_engine)
)
synth_spec <- synth_spec()
update_custom_extractors(
synth_spec = synth_spec,
list("vars" = c("a", "b", "c"), "extractor" = parsnip::extract_fit_engine)
)
synth_spec <- synth_spec()
synth_spec <- add_custom_extractors(
synth_spec = synth_spec,
list("vars" = c("a", "b", "c"), "extractor" = parsnip::extract_fit_engine)
)
remove_custom_extractors(synth_spec = synth_spec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.