powered by
Use this function to write code to R script from diagnostics tagged in Certara's Model Results Shiny Application.
write_code(tagged, file)
Returns NULL after writing to file.
NULL
file
List of tagged objects from returned from resultsUI().
resultsUI()
Character specifying path of output file. If missing, it will be saved as code.R in working directory.
code.R
if (interactive()) { tagged_diagnostics <- resultsUI(xpdb = xpdb_NLME) write_code(tagged_diagnostics, "tagged_results.R") }
Run the code above in your browser using DataLab