Writes the centralized model, ordered preprocessing and DA steps, and any
bake configurations using the non-executable dar-recipe JSON schema.
Arguments
- rec
A
Recipe()orPrepRecipe()object.- file_name
Output path.
Examples
data(metaHIV_phy)
rec <- recipe(metaHIV_phy) |>
add_model(~ RiskGroup2, targets = "RiskGroup2", tax_level = "Species") |>
step_filter_by_prevalence(threshold = 0.1)
path <- tempfile(fileext = ".json")
export_steps(rec, path)
