| export_grid_csv | R Documentation |
Saves the boundary grid data (X, Y, predicted class, probabilities) for a fitted classbound model so results can be reproduced outside the Shiny app.
export_grid_csv(
cb_mod,
data,
resolution,
proj_matrix = NULL,
proj_info = NULL,
predict_args = list(),
slice_x = NULL,
slice_y = NULL,
file
)
cb_mod |
A classbound model object. |
data |
The training data (used to compute axis ranges). |
resolution |
Grid resolution (points per axis). |
proj_matrix |
Optional projection matrix for high-dimensional data. |
proj_info |
Optional list with center/scale for projection. |
predict_args |
Additional arguments passed to predict. |
file |
The file path to write the CSV. |
The file path (invisibly).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.