export_reproduce_script: Export a reproducibility R script

View source: R/app_export.R

export_reproduce_scriptR Documentation

Export a reproducibility R script

Description

Writes a self-contained R script that loads the exported data and models and regenerates the boundary plots. Handles both 2D and high-dimensional (projection-based) datasets.

Usage

export_reproduce_script(
  model_names,
  has_projection = FALSE,
  slice_x = NULL,
  slice_y = NULL,
  resolution = 100,
  show_probs = FALSE,
  zoom_x = NULL,
  zoom_y = NULL,
  file
)

Arguments

model_names

Character vector of model names included in the export.

has_projection

Logical, whether a projection.rds file was exported.

file

The file path to write the script.

Value

The file path (invisibly).


classbound documentation built on Sept. 30, 2026, 5:13 p.m.