Learn R Programming

Certara.ModelResults (version 3.0.1)

write_code: Write code to R script from tagged diagnostics

Description

Use this function to write code to R script from diagnostics tagged in Certara's Model Results Shiny Application.

Usage

write_code(tagged, file)

Value

Returns NULL after writing to file.

Arguments

tagged

List of tagged objects from returned from resultsUI().

file

Character specifying path of output file. If missing, it will be saved as code.R in working directory.

Examples

Run this code
if (interactive()) {
tagged_diagnostics <- resultsUI(xpdb = xpdb_NLME)

write_code(tagged_diagnostics, "tagged_results.R")

}

Run the code above in your browser using DataLab